Hi John,I want to show just the story headlines,no date,description or any other info.
Do I need to make that adjustment here?
Code:
function outputRSS_JS($url, $divid) {
global $rss;
$data = $rss->data;
$items = $data['items'];
if (count($items) > 0){
foreach ($items as $item) {
$rssdata[] = "{link:'" . slashit(html_entity_decode ($item->get_permalink()), $charset = 'UTF-8') . "', title:'" . slashit($item->get_title()) . "', description:'" . slashit($item->get_description()) . "', date:'" . slashit($item->get_date($rss->date_format)) . "'}";
}
echo "rsscrawler.rsscontent.$divid = [\n\t" . implode($rssdata, ",\n\t") . "\n];\n";
}
else if (count($items) <= 0) { echo "rsscrawler.rsscontent.$divid=\"Sorry, no items found in the RSS file\""; }
else {
echo "rsscrawler.rsscontent.$divid=\"Sorry: It's not possible to reach RSS file $url\"";
// All else fails
}
}
Which is in the simple_bridge.php file.
Bookmarks