1 (edited by ReedMurphy 2012-03-19 23:22:05)

Topic: News Manager RSS feed

News Manager RSS
Allows you to serve your News Manager blog as an RSS feed.

Get it from Extend

Get the source from GitHub

Requires News Manager - tested with News Manager 2.2.4.

Project homepage: http://www.reedmurphy.net/projects/news … rss-plugin

Latest Version: 1.1.0 - March 2012

Installation

  1. Extract the zip file into your GetSimple plugins/ directory

  2. Copy themefiles/rss.php into your current theme

  3. Create a new page to be your RSS feed, and set it to use the rss.php template

  4. In "News Manager RSS Settings", set your newly created page as the RSS feed page

  5. Optional: If you have FeedBurner configured on your RSS feed, you can set your FeedBurner feed ID (the bit after http://feeds.feedburner.com/ in your FeedBurner URL) as well, and requests for your site's feed will be redirected to FeedBurner.

Reed Murphy: www, email, github

Re: News Manager RSS feed

Hello

I have found some bugs with the plugin.

1. In Safari 4.1 (Mac) I got message:

Safari can’t open the page.
Safari can’t open the page “feed://www......./rss/” because Safari can’t load any data from this location.

It loads with different browser....

2. ...but there are parsing errors

XML Parsing Error: undefined entity
Location: http://www..../rss/
Line Number 8, Column 32:
when there's ó.

Get-Simple converts a lot of letters specific to other languages to entities, so that would make a lot of troubles to many non-English users.

Re: News Manager RSS feed

Hi blazejs,

Thank you for the bug report - I haven't tested this plugin with non-English characters, so I'm not surprised it broke :)

I'll check out the Safari issue on my own feeds, and see what I can do. In the meantime, are you able to PM me a link to the RSS feed that's showing the parsing error?

Reed Murphy: www, email, github

Re: News Manager RSS feed

Version 1.0.1 of News Manager RSS is now available, fixing several issues with encoding and escaping non-English characters.

Get it from Extend.

1.0.1 Changes:

* Added MIT license
* Content escaping / encoding fixes:
    * <description> no longer uses XML-encoded entities - the content is UTF-8 wrapped in CDATA
    * <title> is UTF-8 with HTML special characters encoded
    * <link> / <guid> encode HTML special characters
Reed Murphy: www, email, github

Re: News Manager RSS feed

Hi, I wondered if you can help me, I've recently added the latest version as I was having a problem in IE where it wouldn't display the feed. It's displaying now, but I notice that all the image links are broken
please see  http://www.zengrenade.com/html-site/blo … e-rss-feed

It appears that the urls in the feed are being published with a "\" on the end which is causing the link to break

Re: News Manager RSS feed

Hi zengrenade,

It looks like I wasn't properly handling PHP's magic_quotes_gpc being set to On.

I've uploaded a new version of News Manager RSS to Extend, containing a fix for this issue - could you update to the latest version and let me know if that fixes things for you?

Reed Murphy: www, email, github

Re: News Manager RSS feed

That's working now, awesome, thanks

Re: News Manager RSS feed

Hello,

My feed is not valid not working in IE.  Please see http://www.iglesiadediosnaco.org.do/rss

And try to suscribe en Google Reader and fails.

Madelyn

Re: News Manager RSS feed

Reed,

Just wanted to thank you for the plugin, works like a charm. :)

-Lasse

Re: News Manager RSS feed

Hi Madelyn,

I'm sorry to hear you're having issues with the RSS plugin. I've sent you a PM with a few questions that should help me track down the bug.

Reed Murphy: www, email, github

Re: News Manager RSS feed

Hi Lasse,

Thanks for the thanks - glad to hear it's working for you :)

Reed Murphy: www, email, github

Re: News Manager RSS feed

Please update the release-information in news_manager_rss.php

you updated to version 1.0.2, but your file still says: 1.0.1, so the new update-alerts in GS 3.1 show wrong alerts

Cheers, Connie

<?php
/*
Plugin Name: News Manager RSS
Description: Adds RSS functionality to News Manager
Version: 1.0.1
Author: Reed Murphy
Author URI: http://www.reedmurphy.net/
*/

define('NMRSS_CONFIG_XML', GSDATAOTHERPATH .'nmrss_config.xml');
define('NMRSS_TAG', '[newsrss]');

$thisfile = basename(__FILE__, ".php");
register_plugin(
    $thisfile, //Plugin id
    'News Manager RSS',  //Plugin name
    '1.0.2',      //Plugin version
    'Reed Murphy',  //Plugin author
    'http://www.reedmurphy.net/', //author website
    '', //Plugin description
    'pages', //page type - on which admin tab to display
    'nmrss_admin'  //main function (administration)
);
|--
Die deutsche GetSimple-Webseite: http://www.Get-Simple.de = the german Get-Simple-Website!
Das deutschsprachige GetSimple-(Unter-)Forum:   http://get-simple.info/forum/forum/16/german-deutsch/

Re: News Manager RSS feed

Hi Connie,

My apologies for that - I've updated the version number and resubmitted it to Extend.

Reed Murphy: www, email, github

14 (edited by reff 2012-03-12 19:54:37)

Re: News Manager RSS feed

Hi all.
It doesn't work for me: http://eventconst.ru/rss/
The same as in madelyn's case. Any suggestions?
PS: I use News Manager version 2.2.4 and Get-Simple version 3.1

Hail to get-simple developers!

Re: News Manager RSS feed

Hi reff,

I think I can see what's causing that issue (XML-encoded entities in the RSS <title> tag), and I've uploaded a fixed version to Extend; can you please install the updated version (note that you'll have to manually update the rss.php template, as it had to be changed for this fix), and let me know if it is fixed for you?

Reed Murphy: www, email, github

Re: News Manager RSS feed

ReedMurphy Thank you so much, now everything works fine!
Huge respect for your furiously quick reply!!!
Cheers

Hail to get-simple developers!

Re: News Manager RSS feed

Version 1.1.0 of News Manager RSS is now available, adding FeedBurner support.

Get it from Extend.

1.1.0 Changes:

  • Added FeedBurner support

Reed Murphy: www, email, github

Re: News Manager RSS feed

Hi there.

I instaled GS 3.1,
News manager 2.2.4 and
News Manager RSS 1.1.0

Rss is only shown in Firefox. On IE says "Feed code error" and on Chrome feed is not shown as it's should. Can you help me with this? I don't know what is wrong.

Thanks

Re: News Manager RSS feed

Hi Kovalj,

Can you PM me a link to your RSS feed, and I'll take a look at it?

Reed Murphy: www, email, github

Re: News Manager RSS feed

Hi ReedMurphy, thanks for quick reply.

I manage to find the problem, It seems script can't work when Share +3 plugin is activated. I disable Share +3 plugin and now works fine.

Thanks for great plugin.