Feedback 0.1 for Mint 1.2x and Mint 2.0

Feedback for Mint 1.2/2.0 is a Pepper which tracks your (RSS/Atom) feeds. By using a seperate ‘tracker’ you can see how many hits, subscribers and views your feed has. The tracker will not redirect your feed and you can also select that the tracker does not change your feed in any way (however, in that situation you can’t track clicks).

Mod_rewrite is needed on your host for Feedback.

FEATURES

Tracking views and clicks of multiple feeds;

Daily and monthly statistics;

Overview of subscribers including aggregators;

If the no. of subscribers are shown in the reader-agent Feedback counts this;

List of popular feed-items;

Easy installation;

Tiny graph-statistics (Sparks).

CHANGELOG - 0.1 - 20070131

Mint 2.0 compatible;

Added the option to use hostip.info to add a country and a city to an IP address (if available). This slows down the subscribers tab a bit and if you don’t like it you can disable it in the preferences;

If the tracker.php file cannot find your mint installations, you can define it yourself in tracker.php;

The monthly and daily stats are split up in two different tabs;

If the reader shows the number of subscribers (eg: ‘subscribers: 5’)
Feedback will add this number to the total number of subscribers;

New tab: Sparks. Shows tiny graphs of the last 14 days and past 12 months. In the preferences you can set the type of sparks you would like to see;

Longer day and month names;

Changed the rewrite code so multiple feeds are possible. If you know a better way to rewrite this, let me know :)

uFx: actually i had the ‘use hostip.info’ option unchecked already, and it is still slower than previously. often, i had to have the pepper display another pane whenever i refresh mint, after which i will then click on the subscriber pane to reload your pepper; otherwise the whole mint reload will take a long time. i have set the number of subscribers to show to 25. is this too much?

Reinstalled and the panels still don’t show up (neither does it show up in Panel Order). I can, however, get to Prefs for Feedback. Here are the error messages I see when I turn on debugging (user_directory and domain have been anonymized):

Warning: Missing argument 1 for gethtml_ufx_aliases() in /home/user_directory/domain/mint/pepper/hansvankilsdonk/nametags/class.php on line 278

Notice: Undefined offset: 1 in /home/user_directory/domain/mint/pepper/hansvankilsdonk/nametags/class.php on line 295

Notice: Use of undefined constant uFx_onlyclicks - assumed ‘uFx_onlyclicks’ in /home/user_directory/domain/mint/pepper/hansvankilsdonk/feedback/class.php on line 684

Notice: Use of undefined constant uFx_tracknoclicks - assumed ‘uFx_tracknoclicks’ in /home/user_directory/domain/mint/pepper/hansvankilsdonk/feedback/class.php on line 687

Notice: Undefined index: uFx_tracknoclicks in /home/user_directory/domain/mint/pepper/hansvankilsdonk/feedback/class.php on line 687

Notice: Use of undefined constant uFx_FB_debug - assumed ‘uFx_FB_debug’ in /home/user_directory/domain/mint/pepper/hansvankilsdonk/feedback/class.php on line 690

Notice: Use of undefined constant uFx_FB_hostinfo - assumed ‘uFx_FB_hostinfo’ in /home/user_directory/domain/mint/pepper/hansvankilsdonk/feedback/class.php on line 693

Notice: Use of undefined constant uFx_sparkstype - assumed ‘uFx_sparkstype’ in /home/user_directory/domain/mint/pepper/hansvankilsdonk/feedback/class.php on line 696

Notice: Undefined variable: onlyclicks_checked in /home/user_directory/domain/mint/pepper/hansvankilsdonk/feedback/class.php on line 715

Notice: Undefined variable: lines_select in /home/user_directory/domain/mint/pepper/hansvankilsdonk/feedback/class.php on line 725

Notice: Undefined variable: hostinfo_checked in /home/user_directory/domain/mint/pepper/hansvankilsdonk/feedback/class.php on line 730

Notice: Undefined variable: debug_checked in /home/user_directory/domain/mint/pepper/hansvankilsdonk/feedback/class.php on line 734

just letting you that recently i have been running some benchmarks on the pepper, the Feedback pepper is taking quite a lot of resources, despite having use hostip.info’ option unchecked already. here is a typical run:

uFx, I haven’t installed yet, but from a quick glance at the code you might miss MySQL indexes for the columns you use in JOINS or ORDER BY clauses. Indexes make things a-lot faster since not all data has to be considered when performing such an action but only a highly optimized fraction.