Quote:
Originally Posted by aoitenshi
|
Hello, I posted a request but I decided to try my hand at it by using the Basic editor for custom news source on Calibre. I followed the guide on the website but I obviously don't understand enough code to get very far...
This is what I have done:
Code:
class AdvancedUserRecipe1267281853(BasicNewsRecipe):
title = u'Today ONLINE'
oldest_article = 7
max_articles_per_feed = 100
no_stylesheets = True
feeds = [(u'TODAYonline', u'http://www.todayonline.com/RSS/Todayonline'), (u'Hot News', u'http://www.todayonline.com/RSS/Hotnews'), (u'Singapore', u'http://www.todayonline.com/RSS/Singapore'), (u'World', u'http://www.todayonline.com/RSS/World'), (u'Plus', u'http://www.todayonline.com/RSS/Plus'), (u'Sports', u'http://www.todayonline.com/RSS/Sports'), (u'Business', u'http://www.todayonline.com/RSS/Business'), (u'Tech', u'http://www.todayonline.com/RSS/Tech'), (u'Health', u'http://www.todayonline.com/RSS/Health'), (u'Traveller', u'http://www.todayonline.com/RSS/Traveller'), (u'Voices', u'http://www.todayonline.com/RSS/Voices'), (u'Weekend Voices', u'http://www.todayonline.com/RSS/Weekendvoices'), (u'Comment', u'http://www.todayonline.com/RSS/Comment'), (u'Food', u'http://www.todayonline.com/RSS/Food'), (u'Style', u'http://www.todayonline.com/RSS/Style'), (u'Shop', u'http://www.todayonline.com/RSS/Shop'), (u'At Home', u'http://www.todayonline.com/RSS/Athome'), (u'Car', u'http://www.todayonline.com/RSS/Car'), (u'Silver', u'http://www.todayonline.com/RSS/Silver'), (u'Kids', u'http://www.todayonline.com/RSS/Kids'), (u'Two Days', u'http://www.todayonline.com/RSS/Twodays')]
def print_version(self, url):
return url.replace('http://', 'http://www.todayonline.com/Print/')
I was attempting to configure the following feeds
Today Online
http://www.todayonline.com/RSS/Todayonline
Hot News
http://www.todayonline.com/RSS/Hotnews
Singapore
http://www.todayonline.com/RSS/Singapore
World
http://www.todayonline.com/RSS/World
Plus
http://www.todayonline.com/RSS/Plus
Sports
http://www.todayonline.com/RSS/Sports
Business
http://www.todayonline.com/RSS/Business
Tech
http://www.todayonline.com/RSS/Tech
Health
http://www.todayonline.com/RSS/Health
Traveller
http://www.todayonline.com/RSS/Traveller
Voices
http://www.todayonline.com/RSS/Voices
Weekend Voices
http://www.todayonline.com/RSS/Weekendvoices
Comment
http://www.todayonline.com/RSS/Comment
Food
http://www.todayonline.com/RSS/Food
Style
http://www.todayonline.com/RSS/Style
Shop
http://www.todayonline.com/RSS/Shop
At Home
http://www.todayonline.com/RSS/Athome
Car
http://www.todayonline.com/RSS/Car
Silver
http://www.todayonline.com/RSS/Silver
Kids
http://www.todayonline.com/RSS/Kids
Two Days
http://www.todayonline.com/RSS/Twodays
The website doesn't provide full RSS feeds so I try to load up the print version of linked articles. What I don't understand is that I seem to be getting the header / footer but I can't see the article itself. It's a free newspaper so all the content should load.
Why is this so?