![]() |
#1 |
Connoisseur
![]() Posts: 59
Karma: 10
Join Date: Jan 2011
Device: Kindle 1st Gen, Kindle 3 SO
|
Here's a Tricky One
Weather alerts from http://www.weather.gov/alerts-beta/
I've been able to put just the raw URLs for the various feeds into a recipe and get out a strange result that has the title of the alert as a link (that doesn't seem to work on my Kindle), but I can't figure out how to create a recipe that grabs the whole thing and formats it as plain text. An example. If you go to http://www.weather.gov/alerts-beta/w...t.php?x=WAZ028 at the moment I'm posting this, you get what looks like a mess of text. It has some formatting, but it doesn't seem to translate over to the browser. And if you put that URL in a recipe, you only get the title. I'd like to get either the full text of the message, or the full text of the message that's linked within the alert. Here's what a regular entry looks like: Spoiler:
The link href in there takes you to a page with more detail on the alert. My goal is to get THAT page in as an article. Here's what a full page of the feed for that region looks like. Spoiler:
My questions: 1) Why am I only getting the title of the alert in the basic recipe? 2) How can I pull the link within an alert entry out and retrieve that file? Any help would be appreciated. No rush, maybe I'll figure it out myself... |
![]() |
![]() |
![]() |
#2 |
Connoisseur
![]() Posts: 59
Karma: 10
Join Date: Jan 2011
Device: Kindle 1st Gen, Kindle 3 SO
|
Oooh, solved question #1 with help from about five Google searches: I needed to add
use_embedded_content = True because the content is in XML, and adding that allows the recipe to grab the whole content. Now to see if I can figure out how to follow that link and get the detailed reports. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Nov 2010
Device: Kindle 3
|
can you send it to me?
Hi, I live in Walla Walla, and would love to have a copy of your recipe for the weather, if you have time. Thanks in advance.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Unutterably Silly Tricky Poll | GeoffC | Lounge | 22 | 05-11-2009 11:24 AM |
Tricky Question of the Day: I want a book... where should I buy it? | Bob Russell | Which one should I buy? | 34 | 09-17-2007 03:30 PM |