Page 23 of 54

Posted: Wed Jun 15, 2005 3:57 am
by imason
Hi, I must say it is a great mod, but I can't get it to work with my forum.

http://www.phenforum.com

I have implemented the Able2Know SEO mods for phpBB, so I think that
might be the problem.

I get this error when I visit rss.php:

XML Parsing Error: not well-formed
Location: http://www.phenforum.com/rss.php
Line Number 5, Column 28: <title>Weight Loss Forum & Support Group</title>
---------------------------^

Here's the URL for you to test:

http://www.phenforum.com/rss.php

Has anyone else had this problem? I tried removing the title tags from
overall_header.tpl, but that didn't work.

Posted: Wed Jun 15, 2005 3:28 pm
by Dan Atkinson
Strangelove wrote: Is there any way to have the RSS feed only display the title of the thread on the output?

AND I want it to show up like this:


* A64 Memory Overclocking Worklog
* Apple Gives in to the Dark Side, goes Intel
* ATI finally gets a good mobility video chip
* Making an LCD projector

Any help would be mich appreciated...


Hey there.

You'll need to edit the rss_body.tpl file (in Notepad or whatever plain text editor you use).

Find the following string:
<title>{post_item.FORUM_NAME} :: {post_item.TOPIC_TITLE}</title>

Delete this string:
{post_item.FORUM_NAME}

Hey presto! Problem solved!

Posted: Wed Jun 15, 2005 3:45 pm
by tomythius
imason wrote: I get this error when I visit rss.php:

XML Parsing Error: not well-formed
Location: http://www.phenforum.com/rss.php
Line Number 5, Column 28: <title>Weight Loss Forum & Support Group</title>
---------------------------^

Heres something to try, html encode the ampersand. This would change "&" to "&". The XML spec is quite strict on this I beleive.

Posted: Fri Jun 17, 2005 9:57 am
by NightriderXP
I've got a new problem. I've had this installed on my board for quite a while and it used to work perfectly. So once it stopped working, I assumed there might be a MOD conflict. But since there are only 2 files for this MOD that are never modified by any other MOD, I am at a loss of what happened. This is what I see:

Image

You can see this train wreck in action @

http://4fxearth.net/phpBB2/rss.php

I re-uploaded the files hoping that would somehow make a difference. But it didn't help at all as I expected...

:?:

Posted: Fri Jun 17, 2005 6:55 pm
by Keva
just installed the mod and its very nice :) i was wondering tho how i make it so the rss reed is availible for users in firefox to bookmark

Posted: Fri Jun 17, 2005 8:47 pm
by tomythius
Just add this:

Code: Select all

<link rel="alternate" type="application/rss+xml" title="RSS feed" href="{url}">
to your overall_header.tpl in the head section.
Replace {url} with the url of your feed.

Posted: Fri Jun 17, 2005 9:25 pm
by NightriderXP
tomythius wrote: Just add this:

Code: Select all

<link rel="alternate" type="application/rss+xml" title="RSS feed" href="{url}">
to your overall_header.tpl in the head section.
Replace {url} with the url of your feed.

If this suggestion was for me, it didn't work. My default template is Helius, so I started with it. But since the XML Parse error is reporting subSilver in the path, I added it to the subSilver overall_header.tpl too knowing that it probably wouldn't help, but it was worth a try. As expected, that didn't help either...

What could cause this on files that have never been edited and a utility that used to work perfectly???

:?:

Posted: Fri Jun 17, 2005 9:28 pm
by tomythius
NightriderXP wrote: If this suggestion was for me, it didn't work.

Sorry, was for Keva.
:?
Guess I should've made that clear...

Posted: Sat Jun 18, 2005 3:14 am
by NightriderXP
No problem. Hopefully someone will have an idea what caused my new problem too some day...

:(

Posted: Sat Jun 18, 2005 8:28 pm
by tempered007
Ahhh..thank you so much for this mod..

REQUEST
Is it possible to for a new release with all of the modifications? Specifically
(1) RSS 2.0 modifications
(2) the multiple forum modifications (?f=2,4,25,50)
(3) feed validator characters modifications

THanks.

Posted: Wed Jun 22, 2005 8:00 am
by balgo
Is there any way how to know how many people read my RSS channels?

Posted: Thu Jun 23, 2005 9:34 pm
by Strangelove
Dan Atkinson wrote: Hey there.

You'll need to edit the rss_body.tpl file (in Notepad or whatever plain text editor you use).

Find the following string:
<title>{post_item.FORUM_NAME} :: {post_item.TOPIC_TITLE}</title>

Delete this string:
{post_item.FORUM_NAME}

Hey presto! Problem solved!



Thanks m8...that did the trick!

Any idea how to get rid of the title of the forum showing up?

I.E. Removing the UGHQ on the hot forum topics?

Example: http://www.ughq.com

Posted: Fri Jun 24, 2005 11:25 am
by Mikesus
Has anyone mod'd this to work with Craven's SEO mod?

Posted: Sun Jun 26, 2005 7:13 am
by afterlife_69
So this grabs RSS feeds and posts them?

Posted: Tue Jun 28, 2005 11:20 pm
by webmacster87
rss.php:

Code: Select all

//
// BEGIN Configuration
//
// Set the relative path from this file to your phpBB root folder
$phpbb_root_path = './';
// How many posts do you want to returnd (count)?  Specified in the URL with "c=".  Defaults to 15, upper limit of 50.
$count = ( isset($HTTP_GET_VARS['c']) ) ? intval($HTTP_GET_VARS['c']) : 15;
$count = ( $count == 0 ) ? 15 : $count;
$count = ( $count > 50 ) ? 50 : $count;
// Which forum do you want posts from (forum_id)?  specified in the url with "f=".  Defaults to all (public) forums.
$forum_id = ( isset($HTTP_GET_VARS['f']) ) ? intval($HTTP_GET_VARS['f']) : '';
$sql_forum_where = ( !empty($forum_id) ) ? ' AND f.forum_id = ' . $forum_id : ' ';
// Return topics only, or all posts?  Specified in the URL with "t=".  Defaults to all posts (0).
$topics_only = (isset($HTTP_GET_VARS['t']) ) ? intval($HTTP_GET_VARS['t']) : 0;
$sql_topics_only_where = '';
if ( $topics_only == 1 )
{
	$sql_topics_only_where = 'AND p.post_id = t.topic_first_post_id';
}
//
// END Configuration
//
The Author's Notes of rss.MOD.txt wrote: ## Author Notes: As noted in rdf.php, this mod was based on "RDF Content Syndicator v1.3.1"
## released as a mod for phpBB 2.0.4. My mod does something almost entirely different.
## The original RDF Syndicator exported topic titles. Mine exports posts, including post text,
## and does conversion of bbcode/smilies to make them work from the feed reader.
##
## The original configuration options; html variables "c" (for count), "f" (for forum) were kept.
## I've also added the "t" variable to list only 'start of topic' posts in the feed,
## instead of all posts. This is better for high-traffic boards. This script will generate a valid
## RSS 0.92 feed. Some feed readers still don't support features of RSS 0.92, such as entity-encoded
## html tags. If you see html tags within the post text or signature, or the RSS description field doesn't
## display at all, try a different aggregator. FeedReader (www.feedreader.com) seems to work very well.

I'm unsure how to configure rss.php to get this to work. All I want is to have an RSS feed display the last 50 posts (be they new topics or replies) from all the various forums on my board aggregated together into one RSS feed. How do I configure rss.php to get it to work?