CG-FeedRead and character limit
-
I’m using CG-Feedread and I must not be using the function code correctly because the feed title’s are showing up chopped off. For example, an article from A List Apart shows up like this:
——————
A List Apart: for people who make websites
* Pa€|
and Jorunn D. Newth Among the many websites that are out there, few are standards-compliant. Among those few, only a handful sport style sheets adjusted to the needs of handheld devices. Of those which do offer styling for handhelds, not all will fit the smallest, lowest-resolution screens without presenting the user with the ultimate handheld horror: namely, horizontal scrolling. This article presents a set of general suggestions for creating a handheld-friendly style sheet that works well even on handheld screens no wider than 120px.
———————–
The title is the bulleted “P…” you can see the rest of them here:
https://blog.zoblue.com/web-news.php
The php function code I have in that page is:
<?php
$feedUrl = "https://www.alistapart.com/rss.xml";
$feedOut = getSomeFeed($feedUrl, 4, true, "feed-alistapart", '', 1, -1, 1);
if ($feedOut)
echo $feedOut;
?>
I want the descriptions to be shortened (some of them are the length of the entire article) but I want the full titles. When I reversed the1, -1
to-1, 1
I still got short titles.
Another question is how to have one function that can do a for-each-loop type of deal where I can enter the RSS feed urls into one function and it builds the feeds that way. Is that possible?
thanks in advance,
Z
- The topic ‘CG-FeedRead and character limit’ is closed to new replies.