1
wishcraft
X-Reaggregator 2.07

Resized Image

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.
Resized Image

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)
Resized Image
www.ohloh.net/accounts/226400

Follow, Like & Read:-

twitter.com/RegaltyFamily
github.com/Chronolabs-Cooperative
facebook.com/DrAntonyRoberts

2
wishcraft
X-Reaggregator 2.07 - Bad Chars Filter for RSS

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;    
    }
Resized Image
www.ohloh.net/accounts/226400

Follow, Like & Read:-

twitter.com/RegaltyFamily
github.com/Chronolabs-Cooperative
facebook.com/DrAntonyRoberts

Login

Who's Online

238 user(s) are online (160 user(s) are browsing Support Forums)


Members: 0


Guests: 238


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits