Get XOOPS XOOPS FAQ Forums News Themes Modules
News World of XOOPS Developers Hacks Modules Themes YAXS Archive Submit News

XOOPS vs. Herko Coomans

Local Support

Make a donation

Please select an amount to donate


Do you want your username revealed with your donation?
Yes - List me as a Generous Donor
No - List my donation as from an Anonymous Donor


Search

Twitter News

Cumulus Tag Cloud

admin Arabic banner block Christmas comments cumulus DayDawn dhsoft e-Commerce E-Learning Google GUI hacks instant-zero jQuery module news Nordic Olédrion oxygen PageRank security SEO simple-XOOPS sport tag Theme wiki xoops

New Users

Registering user

# 117883

jan9741cal

Welcome to XOOPS!

Archives

Advertisement

XOOPS Code hosted on SourceForge

X-Reaggregator 2.07

Posted by wishcraft on 2008/7/11 23:00:00 (2628 reads) | Posted on Modules
Open in new window

X-Reaggregator 2.07 based on XoopsHeadlines includes a nice feature for Re-aggregating your RSS Feeds into your community from other sources, it includes a .htaccess SEO as well as an RSS Cache and RSS Snooping by Setting in your preferences.

This for example is useful with your X-Torrent Installation as you can add other X-Torrent RSS Feeds to it and allow your users to with the RSS Torrent acquire Aggregate torrents from many sources with the Feed Snooping the composite group of feeds with snooping quantities for the amount of items in the RSS Feed.
Open in new window

A couple of minor fixes, there was a problem with the SEO function that $xoopDB needed to be redeclared as well as adding a sort to the Snooping and other minor templating changes..

What has changed
• RSS Snoop now sorted by date
• RSS SEO Fixed (.rss added to the end).
• Minor Templating Fixes

Download: xoops2_xreaggregator_2.07.zip (36Kb)



Printer Friendly Page Send this Story to a Friend Create a PDF from the article


Bookmark this article at these sites

                   

The comments are owned by the poster. We aren't responsible for their content.

Would a demo be available?

Jere
Posted: 2008/7/12 11:43 • Updated: 2008/7/12 11:43
Sure it is at my site http://www.chronolabs.org.au/modules/xreaggregator/ I suggest you use safari so you send it on a safari. Plus something weird is going on with RSS Browsing in general with IE and Mozilla, don't know who keeps attempted to Remix Standards behind us..
Posted: 2008/7/12 18:06 • Updated: 2008/7/12 18:06
RSS Bad Char Filter

Sometimes the feed will contain bad characters for this in RSS feeds is bad chars, this is the final fix to this code it is only changes to files..

/xeaggregator/class/xreaggregatorrenderer.php

Step 1
// At Line 131 - Add the following
$channel_data $this->xr_htmlspecialchars($this->xr_htmlspecialchars_decode($channel_data));
$image_data $this->xr_htmlspecialchars($this->xr_htmlspecialchars_decode($image_data));
$items $this->xr_htmlspecialchars($this->xr_htmlspecialchars_decode($items));


Step 2

Below the function xreaggregatorRenderer.renderRSS add the following 2 functions:

function xr_htmlspecialchars($obj_items)
    {
        foreach(
$obj_items as $key => $item)
        {
            if (
is_array($item))
            {
                
$obj_items[$key] = $this->xr_htmlspecialchars($item);
            } else {
                
$obj_items[$key] = htmlspecialchars($item);
            }
        }

        return 
$obj_items;    
    }
    
    function 
xr_htmlspecialchars_decode($obj_items)
    {
        foreach(
$obj_items as $key => $item)
        {
            if (
is_array($item))
            {
                
$obj_items[$key] = $this->xr_htmlspecialchars_decode($item);
            } else {
                
$obj_items[$key] = htmlspecialchars_decode($item);
            }
        }

        return 
$obj_items;    
    }

Posted: 2008/7/13 19:58 • Updated: 2008/7/13 19:58
Time for Elvan Language Pack you have. Time you have more of? Language pack in Yoda I would like.
Posted: 2008/7/28 19:08 • Updated: 2008/7/28 19:08
There where no elves they are Vulcan writing back through the keyboard of crap qwerty, where my god dam ullision keyboard gone... I hate qwerty... see -> http://zeslijczequaes.spaces.live.com ... 80D2A11C091017!3692.entry for more star trek silly stuff..
Posted: 2008/8/28 11:30 • Updated: 2008/8/28 11:30