View Single Post
Old 04-10-2009, 10:20 AM   #6
prs700
Member
prs700 began at the beginning.
 
Posts: 24
Karma: 10
Join Date: Apr 2009
Device: SONY PRS-700
Quote:
Originally Posted by kiklop74 View Post
@Kovid

I was trying to do some recipes for some sites in Hebrew and was not successful in all cases.

For example newspaper Haaretz passed just fine whie one Blog in Hebrew was outside of my powers.

I added this in extra_css to force rtl language but it is ignored in the final result.

Code:
    extra_css = '@font-face {font-family: "serif0";src:url(res:///Data/FONT/serif0.ttf)} body{direction: rtl; font-family: serif0, serif} .article_description{direction: rtl; font-family: serif0, serif} a.article{direction: rtl; font-family: serif0, serif} .calibre_feed_title{direction: rtl; font-family: serif0, serif} .calibre_feed_list{direction: rtl; font-family: serif0, serif} .calibre_feed_description{direction: rtl; font-family: serif0, serif} .feed{direction: rtl} .calibre_class_0{direction: rtl}'
Do you have any plans to add RTL language support to the racipe infrastructure to avoid all this css hassle?

Here is the recipe in question:

Hi,

I want to make use of the RTL support, but I am confused, what is CSS and where can I add it if you don't mind? at Calibre or at the device?

thanks

PRS 700
prs700 is offline   Reply With Quote