View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0015535||phpList 3 plugins||General||public||25-08-10 18:22||06-02-19 11:35|
|Summary||0015535: RSS template not parsing correctly|
|Description||[RSS] tag is not being replaced by RSS item data|
|Steps To Reproduce||1. Start a new message campaign, setup as an RSS template. |
2. Include [RSS] in message body. I like to include some text above and below tag to anchor it so you can tell where it the RSS items *should* appear.
3. Send message.
4. For me, the result every time is that [RSS] is replaced with nothing.
I've been trying to debug this, but I haven't a clue about where the problem is, except that I assume it's in admin/plugins/rssmanager.php. (It's a lot of work debugging RSS mailings, since there are so many conditions to be satisfied in order for a new RSS message to go out!) I can't even get most of the debugging messages I've been inserting to show up (or maybe I'm not looking in the right place???).
Does it have something to do with $texttemplate and $htmltemplate? I can't tell.
|Tags||No tags attached.|
According to the announcement of v2.11.5, the RSS functionality has been removed from the main code base in order to move it to a plugin.
I'm not sure whether the new RSS plugin has already been developed.
||I believe I'm talking about the plugin, which resides in admin/plugins/rssmanager.php.|
I don't know why I phrased my last comment like that; I'm sure I'm talking about the plugin.
Obviously most of the RSS functionality is there -- supplied by plugins/rssmanager.php and plugins/rssmanager/*.php -- but some aspects are broken or missing. (The parsing, from what I can determine, is broken. Other features, like the ability to properly configure the plugin, would seem to be missing.)
@jeremy & h2b2
Looks like this is a continuation of my new (subsequent) topic - http://mantis.phplist.com/view.php?id=15543
There's a two-fold contributor to Jeremy's problem. Reading his original ticket, like me, he's trying to get the RSS content into a manual (non-scheduled) sending. It's taken me almost a year before I've noticed the insignificant little note in the wiki that states RSS content will only be included in mails sent on a repeating schedule.
i.e. If you send the message from the "Lists" tab in "Create a Message", the RSS content will not get pulled in.
If you set the "Scheduled" tab info then sit back and wait for the scheduling to kick in, the RSS content will get included.
This is a major staller on site development, and a major missing functionality for high priority "flash news" message sending, or for hand-crafted messages bulked-out with RSS content - e.g. for an ecommerce site with attached blog. (There is no RSS outoput from osCommerce 2.2 (all versions) for example, therefore product newsletters have to be handcrafted, and RSS content from an attached blog should then be appendable, but are not if manual send is triggered).
This is a major feature weakness in phpLIST in my opinion.
I ran a quick test and can confirm that "get RSS" (admin/?page=getrss&pi=rssmanager) fails to parse a valid RSS source. After enabling error reporting and debugging in getrss.php, I get the following errors which seem to point to a path problem somewhere in the code: a double slash where there should be only one, as in "plugins/rssmanager//lan/".
This also explains the open_basedir restriction warnings.
These are the error messages:
Error on line 128 of /home/user/domains/example.com/public_html/lists/admin/onyxrss/onyx-rss.php: The specified file could not be opened.
Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(plugins/rssmanager//lan/) is not within the allowed path(s): (/home/user/:/tmp:/usr/local/lib/php/) in /home/user/domains/example.com/public_html/lists/admin/languages.php on line 255
phplist version 2.11.5
Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(plugins/rssmanager//) is not within the allowed path(s): (/home/user/:/tmp:/usr/local/lib/php/) in /home/user/domains/example.com/public_html/lists/admin/languages.php on line 331
phplist version 2.11.5
||Hmm, the path issue appears to be in admin/languages.php which seems to be looking for a language file associated with the plugin.|
|25-08-10 18:22||jeremyw||New Issue|
|26-08-10 13:25||h2b2||Note Added: 0051081|
|26-08-10 13:34||jeremyw||Note Added: 0051082|
|26-08-10 14:07||jeremyw||Note Added: 0051083|
|27-09-10 10:00||gazouteast||Note Added: 0051092|
|04-10-10 05:12||h2b2||Note Added: 0051113|
|04-10-10 05:16||h2b2||Note Edited: 0051113||View Revisions|
|04-10-10 05:20||h2b2||Target Version||=> 2.11.X|
|04-10-10 06:14||h2b2||Note Added: 0051114|
|23-05-12 02:49||michiel||Project||phpList 3 application => rssmanager|
|23-05-12 02:49||michiel||Category||RSS => General|
|06-02-19 11:35||erion||Project||rssmanager => phpList 3 plugins|