Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Recipes

Notices

Reply
 
Thread Tools Search this Thread
Old 11-13-2010, 03:14 PM   #1
boocko
Junior Member
boocko began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Nov 2010
Device: kindle3
Non-RSS source of feeds

Let's say I don't have an RSS feed of sources, but a local file that provides sections, titles and URLs of articles.

I would like a recipe, probably something with def parse_index, that would read the file instead of the RSS, then fetch the articles from the internet and make nice ebook with sections and cover image (also a file on local system!). The syntax of file is not defined yet, the python master can assume whatever format is most useful. E.g.:

[The title of section1]
Title
smalltext
url

title
smalltex
url

[Section2]
title
smalltext
url
.
.

I was thinking about making my own custom RSS, but I guess this could be probably done directly in recipe in a much more elegant way.

I'm sure such universal recipe would be useful.

So, basically I'm asking for a parse_index that would parse a local file.
boocko is offline   Reply With Quote
Old 11-13-2010, 04:52 PM   #2
marbs
Zealot
marbs began at the beginning.
 
Posts: 122
Karma: 10
Join Date: Jul 2010
Device: nook
you can have the index URL to be on your local system. i assume it has to be an xml or html file. if it is html, you can use suop, if it is xml, you dont need anything.

you can build what ever parse_index you want.

if you want to "convert" a local disk location to a URL, just copy the full path to the address bar in firefox and hit enter. generally, you add "file:///" to the path so C:/ becomes file:///C:/
marbs is offline   Reply With Quote
Advert
Old 11-14-2010, 07:38 AM   #3
boocko
Junior Member
boocko began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Nov 2010
Device: kindle3
I will try to make a local RSS file and have it pointed at as a feed.
boocko is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there a good way to convert partial rss to full rss feeds. Zorz Other formats 5 05-29-2010 12:17 PM
RSS feeds peejay PocketBook 2 04-26-2010 05:16 AM
PRS-300 RSS Feeds denmarks Sony Reader 1 10-06-2009 01:41 PM
RSS Feeds troutyluc iRex 5 07-04-2008 08:18 AM
RSS feeds ichor iRex 1 03-01-2008 11:30 PM


All times are GMT -4. The time now is 08:11 PM.


MobileRead.com is a privately owned, operated and funded community.