Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 06-03-2011, 05:23 AM   #1
naisren
Enthusiast
naisren began at the beginning.
 
Posts: 38
Karma: 12
Join Date: Jul 2009
Device: ppc
Question bilingual article

I read FT and want to get articles from her feed.
RSS is FTChinese

The article always has Chinese version, and sometimes with one more English version.

I want to get the Chinese version article from the feed, and English version one if has, the latter has a link in Chinese version article.

For easy understanding, I attached pictures to explain.

I wish the result be

Feed Title (with today date)

A article in Chinese
A article in English
B article in Chinese
B article in English
C article in Chinese (has no English link)
D article in Chinese (has no English link)
E article in Chinese
E article in English
Attached Thumbnails
Click image for larger version

Name:	CN EN.gif
Views:	38
Size:	19.5 KB
ID:	72240   Click image for larger version

Name:	Only CN.gif
Views:	42
Size:	18.3 KB
ID:	72241  
naisren is offline   Reply With Quote
Old 06-03-2011, 05:30 AM   #2
naisren
Enthusiast
naisren began at the beginning.
 
Posts: 38
Karma: 12
Join Date: Jul 2009
Device: ppc
ie:
Chinese version: http://www.ftchinese.com/story/001038928 page includes the link of
English version: http://www.ftchinese.com/story/001038928/en
The difference is just the '/en' in the end.
how to make a feed to include both of links together if the bilingual link exits and only one link if the biglingual link doesn't exit.
naisren is offline   Reply With Quote
 
Enthusiast
Old 06-03-2011, 11:05 AM   #3
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 25,377
Karma: 4961459
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
You will have to write your own parse_index method in the recipe.
kovidgoyal is online now   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
New article interface? teraflame Recipes 2 02-21-2011 02:36 PM
Only one image per article Robin Gardner Recipes 0 02-04-2011 08:50 AM
Free (Kindle) Old Havana Cookbook: Cuban Recipes in Spanish and English (Bilingual Co arcadata Deals, Freebies, and Resources (No Self-Promotion) 0 12-01-2010 05:35 AM
Decorate article headings as hyperlinks to full article? tomsem Recipes 5 10-15-2010 08:30 PM
Bilingual books gczobel Workshop 6 02-23-2009 01:42 PM


All times are GMT -4. The time now is 09:09 AM.


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