Skip to main content
October 24, 2017
Question

Setting Rss feed with js on "right to left" Hebrew writing.

  • October 24, 2017
  • 2 replies
  • 696 views

Hi,

How can i change direction of writng with js to right to left?

<!-- start sw-rss-feed code -->

<script type="text/javascript">

rssfeed_url = new Array();

rssfeed_url[0]="http://www.ynet.co.il/Integration/StoryRss2.xml"; 

rssfeed_frame_width="1500";

rssfeed_frame_height="300";

rssfeed_scroll="on";

rssfeed_scroll_step="6";

rssfeed_scroll_bar="off";

rssfeed_target="_blank";

rssfeed_font_size="25";

rssfeed_font_face="";

rssfeed_border="on";

rssfeed_css_url="";

rssfeed_title="on";

rssfeed_title_name="";

rssfeed_title_bgcolor="#55a0ff";

rssfeed_title_color="#fff";

rssfeed_title_bgimage="on";

rssfeed_footer="off";

rssfeed_footer_name="rss feed";

rssfeed_footer_bgcolor="#fff";

rssfeed_footer_color="#333";

rssfeed_footer_bgimage="on";

rssfeed_item_title_length="50";

rssfeed_item_title_color="#55a0ff";

rssfeed_item_bgcolor="#fff";

rssfeed_item_bgimage="on";

rssfeed_item_border_bottom="on";

rssfeed_item_source_icon="off";

rssfeed_item_date="off";

rssfeed_item_description="on";

rssfeed_item_description_length="120";

rssfeed_item_description_color="#666";

rssfeed_item_description_link_color="#333";

rssfeed_item_description_tag="on";

rssfeed_no_items="0";

rssfeed_cache = "65dc75e2d51be36e122ec3cffbf8b150";

//-->

</script>

<script type="text/javascript"  src="//feed.surfing-waves.com/js/rss-feed.js" dir="rtl"></script>

<!-- The link below helps keep this service FREE, and helps other people find the SW widget. Please be cool and keep it! Thanks. -->

<div style="text-align:right; width:1000px;"><a href="http://www.surfing-waves.com/feed.htm" target="_blank" style="color:#ccc;font-size:20px">feedwidget @</a> <a href="http://www.surfing-waves.com" target="_blank" style="color:#ccc;font-size:20px,dir:rtl">Surfing Waves</a></div>

<!-- end sw-rss-feed code -->

This topic has been closed for replies.

2 replies

Preran
Community Manager
Community Manager
October 25, 2017

I am not sure if this is what you are looking for, but have a look at the solution for Hebrew fonts in writing in Hebrew in Adobe muse

October 26, 2017

Thanks,

but id didnt helped

Preran
Community Manager
Community Manager
October 27, 2017

Hi Ankush,

Not 100% certain but if i remember correctly the rss feed display direction will be set in the xml file (2nd line in the js file) and would be -

<language>language type code would be here</language>

To change the language type one would have to use js to replace the original language.

Note: you cannot change the language of the feed itself, just the display direction.


That is right, yes. From what I remember, this limitation sometimes makes punctuation behave weird when you apply the code.

ankushr40215001
Inspiring
October 24, 2017

Hello,

Not very sure about it but maybe setting a Hebrew font at <rssfeed_font_face="";>

If still doesn't work, reaching out to the code provider shall be the best suggestion.

Thanks,

Ankush

October 25, 2017

Hi Ankush,

it didnt work and the code provider cant change it (www.surfing-waves.com)