View Single Post
Old 04-28-2005, 12:10 PM   #4
taylor
Enthusiast
taylor began at the beginning.
 
Posts: 30
Karma: 10
Join Date: Sep 2004
Device: T|T3
Unless I'm missing something, this looks pretty easy to set up. I thought it may be useful to describe the process I used... that way others can just duplicate it for their own feeds. As the saying goes, "Give a man a fish and he's fed for the day, teach a man to fish and he's fed for a lifetime." (or something like that).

Here is what I did to create a document corresponding to Yahoo's Oddly Enough feed:

1. Select File -> New Document
2. Give the document a name OddlyEnough
3. Enter URL/File: http://rss.news.yahoo.com/rss/oddlyenough (note: if you copy the URL to the clipboard before step 1, the URL will be automatically filled in for you)
4. Modify Link depth to 1 with no restriction
5. Add scheduling as desired.
6. Be sure that a destination has been selected in the Output tab
7. On the Advanced tab, selected Embedded for the script and click on Edit Script...
8. Enter the following script in the window that pops up:
Code:
document.onanchorlink = function(link) {
  if (link.depth == 1) {
    link.uri = link.uri.replace("/news?tmpl=story&u=", "/s");
    link.uri = link.uri + "&printer=1";
  }
};
This will rewrite the article links so that they use the printable pages instead of the default web pages.

Once you have one document set up the way you want it, you can duplicate it and just change the name and url (just for the Yahoo feeds).

I hope this helps. Please let me know if you have any questions or suggestions.
taylor is offline