Simple Syndication

All new MODs released in our MOD Database will be announced in here. All support for released MODs needs to take place in the Customisations Database.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

NOTICE: This forum is only for the announcement of new releases and/or updates of MODs. Any MOD support should be obtained through the Customisations Database in the support area designated for each MOD.

A direct link to support for each MOD is in the first post of the respective topic.
nachtelb
Registered User
Posts: 156
Joined: Sun Feb 19, 2006 2:00 pm
Location: Germany
Name: Bernhard
Contact:

Re: Simple Syndication

Post by nachtelb » Fri Mar 06, 2009 9:41 am

I'am using this great mod at my Board. (not the one in profile)

I think there is a little problem with this mod.
Description of Functionality:

1. I'am logged in and post a new topic in a totally closed private forum.
2. This topic will show up in the Feed for me. The Mod uses my phpbb-session and shows everything for my eyes.
3. I log off and the topic from the closed forum disappears in the feed.

First Problem:
This Mod generates a Webfeed in RSS (default) or Atom format for public and non passworded forums.
With this Description the session-functionality is not clear.
Wrong Mod-Description by wouterv

Second Problem:
If i use a rss-feed-poster with Cache as admin or moderator the topics "for-my-eyes-only" will be cached and could be read by everybody.

I think the Mod-Description should be updated or maybe even better the mod should be changed in functionality to match the actual description.

wouterv
Registered User
Posts: 265
Joined: Wed Jan 02, 2008 10:22 am
Location: The Netherlands
Name: Wouter

Re: Simple Syndication

Post by wouterv » Sat Mar 07, 2009 7:26 am

nachtelb wrote:I'am using this great mod at my Board. (not the one in profile)

I think there is a little problem with this mod.
Description of Functionality:

1. I'am logged in and post a new topic in a totally closed private forum.
2. This topic will show up in the Feed for me. The Mod uses my phpbb-session and shows everything for my eyes.
3. I log off and the topic from the closed forum disappears in the feed.
This is as expected, caused by the way credentials are handled.
nachtelb wrote: First Problem:
This Mod generates a Webfeed in RSS (default) or Atom format for public and non passworded forums.
With this Description the session-functionality is not clear.
Wrong Mod-Description by wouterv
I don't see the problem, if you are logged on to the forum and use this Mod to get a webfeed, you will see the contents of all forums you are granted access to (as described above, due to the way credentials are handled).
nachtelb wrote: Second Problem:
If i use a rss-feed-poster with Cache as admin or moderator the topics "for-my-eyes-only" will be cached and could be read by everybody.

I think the Mod-Description should be updated or maybe even better the mod should be changed in functionality to match the actual description.
What exactly are you using here: "a rss-feed-poster with Cache as admin or moderator"?

nachtelb
Registered User
Posts: 156
Joined: Sun Feb 19, 2006 2:00 pm
Location: Germany
Name: Bernhard
Contact:

Re: Simple Syndication

Post by nachtelb » Sun Mar 08, 2009 8:44 pm

Hello wouterv,

thank you for the answer.

I used lastRSS to produce a html-page as service for partner-sites. I am not able to reproduce the problem. Last time i tried, the cache showed my private forum for everyone. Perhaps i have mixed something up. For the moment we should forget about this. If i recognize the problem in the future i will give you detailed information.

The description reads for me like:
This Mod generates a Webfeed in RSS (default) or Atom format for public and non passworded forums only.
Perhaps you will include the information about session-handling?

User avatar
stephenju
Registered User
Posts: 15
Joined: Wed Mar 04, 2009 8:37 pm

Re: Simple Syndication

Post by stephenju » Mon Mar 09, 2009 2:23 pm

I am also seeing new posts to password-protected forums being publish in the feed. I am using Google Reader which does not have any of my session data and it's showing the new, protected posts.

Using a different browser (Safari on OS X) and cleared the cache. Went to my board and made sure I am not logged in. Clicked at the RSS icon in the URL bar and it listed all the new protected posts, too.

Any way I can help debugging this?

User avatar
stephenju
Registered User
Posts: 15
Joined: Wed Mar 04, 2009 8:37 pm

Re: Simple Syndication

Post by stephenju » Mon Mar 09, 2009 4:21 pm

OK. I think I mistook password protect as forum permissions. Some of my forums are restricted to only registered users but not password protected. Those restricted forums are showing up in the feed.

Sorry for the mess. But shouldn't such forums excluded from the feed, too?

Dev222
Registered User
Posts: 123
Joined: Mon Aug 15, 2005 10:22 pm

Re: Simple Syndication

Post by Dev222 » Sun Mar 15, 2009 3:00 am

Hello,

Can you tell me why this line is needed:

Code: Select all

$row = str_replace("\n", "\n<br />\n", $row); // Do NOT user nl2br
The only thing it seems to do is to add additional brakes.

Dev222
Registered User
Posts: 123
Joined: Mon Aug 15, 2005 10:22 pm

Re: Simple Syndication

Post by Dev222 » Sun Mar 15, 2009 3:08 am

Artack wrote:Anyone does adapt this mod with Simple Seo Rewrite mod?
Try this:

Find:

Code: Select all

$link = "$board_url/viewtopic.$phpEx" ."?". 'f=' . $row['forum_id'] . '&t=' . $row['topic_id']."&p=".$row['post_id']."#p".$row['post_id'];
$identifier = "$board_url/viewtopic.$phpEx" ."?". 'f=' . $row['forum_id'] . '&t=' . $row['topic_id']."&p=".$row['post_id']."#p".$row['post_id'];
Replace with:

Code: Select all

$link = "$board_url/post" .$row['post_id'].".html#p".$row['post_id'];
$identifier = "$board_url/post" .$row['post_id'].".html#p".$row['post_id'];

wouterv
Registered User
Posts: 265
Joined: Wed Jan 02, 2008 10:22 am
Location: The Netherlands
Name: Wouter

Re: Simple Syndication

Post by wouterv » Fri Mar 20, 2009 4:32 pm

stephenju wrote:...Some of my forums are restricted to only registered users but not password protected. Those restricted forums are showing up in the feed.

Sorry for the mess. But shouldn't such forums excluded from the feed, too?
Those forums should be excluded from the feed.
It may be related to the way access is granted or denied.
The way I have tested it, is as follows:
  1. Create a forum
  2. ACP-Permissions TAB
  3. Forum Permissions
  4. Select and submit the "no guest access" forum
  5. Select Group: Guests, click Edit permissions
  6. Select Role: No Access, Apply
This results in the "no guest access" forum not been shown in the feed (unless you are logged on to the forum, as discussed earlier due to the way credentials and sessions are handled).

wouterv
Registered User
Posts: 265
Joined: Wed Jan 02, 2008 10:22 am
Location: The Netherlands
Name: Wouter

Re: Simple Syndication

Post by wouterv » Fri Mar 20, 2009 4:36 pm

Dev222 wrote:Hello,

Can you tell me why this line is needed:

Code: Select all

$row = str_replace("\n", "\n<br />\n", $row); // Do NOT user nl2br
The only thing it seems to do is to add additional brakes.
This is required for proper RSS feed validation (skipped for ATOM format).

User avatar
dpaanlka
Registered User
Posts: 286
Joined: Wed May 10, 2006 6:48 pm
Location: Chicago, USA
Contact:

Re: Simple Syndication

Post by dpaanlka » Sat Apr 18, 2009 3:03 pm

How to ignore custom BBCodes? I have a custom BBCode that I want to just completely not appear in RSS feeds. Is this possible?
phpBB user and evangelist since 2005.
My boards: Info-Mac | System 7 Today

wouterv
Registered User
Posts: 265
Joined: Wed Jan 02, 2008 10:22 am
Location: The Netherlands
Name: Wouter

Re: Simple Syndication

Post by wouterv » Mon Apr 20, 2009 7:18 pm

For now the easiest available is to ignore (strip) all BBCcodes (and HTML).
The syndicator does that when you specify any character count limit:
chars=[number] - number of characters per post, HTML and BBCode tags get stripped: syndication.php?chars=200

neps
Registered User
Posts: 66
Joined: Thu Nov 21, 2002 12:38 pm

Re: Simple Syndication

Post by neps » Sat May 16, 2009 8:26 pm

This script stopped working for me with 1.0 on May 5th, and hasn't resumed since. (I can tell by feedburner traffic) I tried upgrading to 1.2.1, but still timing out.

when I try with this query in mysql, it takes 185 seconds to complete. Is my site just too big now for this to work? I don't believe I've changed anything administration wise in months.

Code: Select all

mysql> SELECT p.post_id, p.poster_id, p.post_subject, p.post_text, p.bbcode_uid, p.bbcode_bitfield, p.topic_id, p.forum_id, p.post_time, f.forum_name, f.forum_desc_options, f.forum_password, u.username FROM phpbb_posts as p, phpbb_forums as f, phpbb_users as u WHERE (u.user_id = p.poster_id) AND p.post_approved = 1 AND (f.forum_id = p.forum_id)  ORDER BY post_time DESC limit 10;
Number of posts: 113284 Posts per day: 47.99
Number of topics: 8841 Topics per day: 3.75
Number of users: 6280

User avatar
AllCity
Registered User
Posts: 230
Joined: Sun Jun 22, 2008 6:33 pm
Name: Andrey Shapoval
Contact:

Re: Simple Syndication

Post by AllCity » Mon May 18, 2009 7:43 am

My mods home page.

User avatar
Midge
Registered User
Posts: 143
Joined: Mon Jan 26, 2009 10:07 pm
Location: Germany

Re: Simple Syndication

Post by Midge » Mon Jun 01, 2009 3:02 pm

Call me a complete douche, but it's not working for me. In fact, none of the RSS feed mods is. :cry:
As far as I understood it I only have to take the file syndication.php and move it to the root folder. If I then try to access it Google puts it on my iGoogle page, right?
Well, even though Google is doing its part and the box shows up the text inside always reads:
"This information is currently not available"

As I said, it's the same problem with all other RSS feed mods, so it must have something to do with my forum. I updated to 3.0.5 (from 3.0.4) now, but it wasn't working before either. The index page leads to the portal.php, could this be an issue?

Edit: The syndication file is still in my phpBB3 folder, if you wish to try it out. Please find the link to my forum in the sig.

And of course I cleared the cache over and over again... ;)

wouterv
Registered User
Posts: 265
Joined: Wed Jan 02, 2008 10:22 am
Location: The Netherlands
Name: Wouter

Re: Simple Syndication

Post by wouterv » Thu Jun 04, 2009 5:58 pm

I'm not sure into what problem you are running and I am not familiar with the Google function you talk about.
The following link properly opens the feed in your browser (IE7, IE8, Firefox 3): http://burgschule-schreckenstein.de/php ... cation.php
It also validates correct here: http://validator.w3.org/feed/
To me your feed looks ok.

Locked

Return to “[3.0.x] MOD Database Releases”