Solved

Rss for right-to-left languages

Posted on 2007-03-20
4
226 Views
Last Modified: 2013-11-18
Greetings, I'm setting up RSS on my web site but since the language of my site and my feed is right-to-left, I was wondering if there is a way to say that in the rss document. so rss readers view it as right-to-left document. Thank you.
0
Comment
Question by:Chaffe
  • 2
4 Comments
 
LVL 1

Accepted Solution

by:
mchaimech earned 250 total points
ID: 18783261
Hello Chaffe;

To display your feeds from right to left you can simply use the Language tag.

Example:

<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
<channel>
<language>ar-lb</language>
<title>As-Safir Newspaper</title>
<link>http://www.assafir.com</link>
<description>As-Safir Arabic Political Daily.</description>
...

Regards;
Mohamad McHaimech.
0
 
LVL 8

Assisted Solution

by:jawahar_prasad
jawahar_prasad earned 250 total points
ID: 18793629
Hi,
one way is as suggested by mchaimech, where the user can see the language and understand.
or
You can create a tag to say if your content is from right to left...
example:
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
<channel>
<contenttype>Arabic, Read from right to left</contenttype>
<title>Experts Exchange</title>
<link>http://www.experts-exchange.com</link>
<description>The description goes here</description>

0
 
LVL 8

Expert Comment

by:jawahar_prasad
ID: 18793655
Hi,
Here is a very good solution to your problem...

http://www.xn--8ws00zhy3a.com/blog/2006/12/right-to-left-rss
0
 

Author Comment

by:Chaffe
ID: 18880379
Great, thanks a bunch for you guys.
0

Featured Post

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Several part series to implement Internet Explorer 11 Enterprise Mode
In threads here at EE, each comment has a unique Identifier (ID). It is easy to get the full path for an ID via the right-click context menu. However, we often want to post a short link within a thread rather than the full link. This article shows a…
How to create a custom search shortcut to site-search Experts Exchange using Google in the Firefox browser. This eliminates the need to type out site:experts-exchange.com whenever you want to search the site. Launch your Bookmark Menu: Press 'Ctrl +…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question