Javascript recipes are different than normal ones. You have to implement the get_publication_data() method. Which has to return an object like this:
{'index':[list of articles]
}
Each element of the list must be a 2-element tuple
of the form ``('feed title', list of articles)``.
Each list of articles must contain dictionaries of the form::
{
'title' : article title,
'url' : URL of print version,
'date' : The publication date of the article as a string,
'description' : A summary of the article
'content' : The full article (can be an empty string). Obsolete
do not use, instead save the content to a temporary
file and pass a file:///path/to/temp/file.html as
the URL.
}
Basically you have to get that data from the feed, the javascript recipe wont do that for you.
|