Hello all,
I use the gAjax RSS Feeds Displayer v2.0 (http://www.dynamicdrive.com/dynamici...sdisplayer.htm). How can is shorten a line of text. (substring) I only want to show for example the first 25 letters of a feed. What do i need to do?
Need your help, thanks.
Best regards, Dan
Code i use:
gfeedfetcher.js : http://www.dynamicdrive.com/dynamici...feedfetcher.js
HTML:
Code:<script type="text/javascript"> var cssfeed=new gfeedfetcher("example1", "example1class", "") cssfeed.addFeed("CSS Drive", "http://www.cssdrive.com/index.php/news/rss_2.0/") //Specify "label" plus URL to RSS feed cssfeed.displayoptions("date") //show the specified additional fields cssfeed.setentrycontainer("li") //Display each entry as a list (li element) cssfeed.filterfeed(10, "title") //Show 10 entries, sort by date cssfeed.init() //Always call this last </script>



Reply With Quote

Bookmarks