Thread: Persian Recipe
View Single Post
Old 03-22-2020, 06:39 PM   #1
Siamor
Junior Member
Siamor began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Mar 2020
Device: Kindle pw
Persian Recipe

The articles in Persian are showing fine inside the kindle but when i click the articles to see the full-article then the words are arranged from left to right, the justification is correct but the arrangement not. when I convert mobi to azw3 then it works fine but then i lose the magazine features.


Spoiler:


from __future__ import unicode_literals, division, absolute_import, print_function
from calibre.web.feeds.news import BasicNewsRecipe

class AdvancedUserRecipe1584916190(BasicNewsRecipe):
title = 'DW'
oldest_article = 7
max_articles_per_feed = 100
auto_cleanup = True
extra_css = 'body { text-align: right; direction:rtl; } '
language = 'fa'

feeds = [
('DW', 'http://rss.dw.com/xml/rss-per_politik_volltext'),
]







Can you also please make a Persian section news, I can help gathering sites.
Siamor is offline   Reply With Quote