Changes

From Amahi Wiki
Jump to: navigation, search
1,743 bytes added ,  14:28, 28 March 2010
Created page with '==General Information== RSS feeds are fetched every 30 minutes. A log file that contains a list of downloaded files, and possible errors, can be found here:<br/> '''/var/hda/web…'
==General Information==
RSS feeds are fetched every 30 minutes.

A log file that contains a list of downloaded files, and possible errors, can be found here:<br/>
'''/var/hda/web-apps/rssdownloader/logs/downloads.log'''

==Modifying RSS feeds==
You can use [http://pipes.yahoo.com/ Yahoo! Pipes] to modify any RSS feed. It would allow you to only download some files from such RSS feeds, or make them compatible with RSS Downloader, if they aren't.

===Filtering===
Sometimes, you don't want to download all the files that are listed in a RSS feed.

You'll need to create a Pipe that will do that for you. Here's an example:



Once you're done, save your Pipe, and run it. In the Run page, confirms the result, and click the RSS link to get the RSS URL for your Pipe. This is the URL you should use in RSS Downloader.

===Compatibility===
Some RSS feeds don't use the ''enclosure'' tag to specify files that are available for download.

To verify if this is the case with your feed, execute the following command in a Terminal:

<div style="border: 1px solid #A3B1BF; padding: .5em 1em; color: #000; background-color: #E6F2FF; margin: 3px 3px 1em 3px;">
<strong>curl "feed_URL"</strong>
</div>

In the resulting text, look for: <enclosure url="...">...</enclosure>

If you can't find any such tag, you'll need to ''fix'' the RSS feed to create this tag.

You'll need to create a Pipe that will copy the URL of the files into a new ''enclosure'' tag. The following example takes the URL from the ''link'' tag, and puts it in a new ''enclosure'' tag.



Once you're done, save your Pipe, and run it. In the Run page, confirms the result, and click the RSS link to get the RSS URL for your Pipe. This is the URL you should use in RSS Downloader.