Bug 98188 - wrong direction for some BIDI articles
Summary: wrong direction for some BIDI articles
Status: RESOLVED DUPLICATE of bug 93739
Alias: None
Product: akregator
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-30 10:44 UTC by Diego Iastrubni
Modified: 2005-02-02 18:20 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Iastrubni 2005-01-30 10:44:49 UTC
Version:            (using KDE KDE 3.3.91)
Installed from:    Compiled From Sources

First all, nice work. This app took me by surprice, really. It has a generally good BIDI support, it may be since you stolled many code lines from kmail :)

..any way, to the bug.

If a feed starts with an RTL letter, it will be aligned to the right. It's done utins QString::isRightToLeft(). However, when a feed starts with an HTML tag, this assumtion falls since you are actually checking the text of the feed, and not the feed itself.

What needs to be done, is generate a function that retrives only the text from a feed, and use that as a base to auto-detect the direction of the text. 

JFYI, some sites are adding '<div dir=rtl> %feed% </div>' tags, just in case, in those sites the feed will be displayed quite good even without any tricks. Just in case, we need to cover all problems no?

Is a screen shot or sample feed really needed? say yes if you do.
Comment 1 Sashmit Bhaduri 2005-02-02 01:10:11 UTC
> Is a screen shot or sample feed really needed? say yes if you do. 

yes, those would be good..
Comment 2 Sashmit Bhaduri 2005-02-02 01:16:53 UTC
hmm.. might be dup of bug #93739
Comment 3 Diego Iastrubni 2005-02-02 18:20:45 UTC
98188  

*** This bug has been marked as a duplicate of 93739 ***