Webmastersite.net
Register Log In

RSS feed issues

Comments on RSS feed issues

gemini
Forum Regular

Usergroup: Customer
Joined: Oct 30, 2003

Total Topics: 54
Total Comments: 197
gemini
Posted Feb 23, 2006 - 7:34 PM:

I keep changing the rssfeed.php - the feed shows deleted items which are not marked hedden, but are actually deleted.

So I changed this line:
$thecondition = 'validated=1 AND hide=0';


to
$thecondition = 'validated=1 AND hide=0 AND deleted=0';


Also, when using static URLs - they are not applied to the rss feeds. So far I just manually keyed in the static part of the url into the code.
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Feb 25, 2006 - 3:44 PM:

You're killing member rss feeds, and it already has
if ($type != 'members') $thecondition .= ' AND deleted=0';

Perhaps you didn't overwrite rssfeed.php on upgrade.

Static URLs? HTML generation you mean?
gemini
Forum Regular

Usergroup: Customer
Joined: Oct 30, 2003

Total Topics: 54
Total Comments: 197
gemini
Posted Mar 01, 2006 - 7:59 AM:

Paul wrote:
You're killing member rss feeds, and it already has
if ($type != 'members') $thecondition .= ' AND deleted=0';

Perhaps you didn't overwrite rssfeed.php on upgrade.

Paul, that's the problem that I upgraded everything and looked at my feed and I saw all the submission I rejected in there. Why would I want rejected submission in my feed?

Paul wrote:

Static URLs? HTML generation you mean?

Yes, I meant static URLs, but not the HTML generated pages (I don't use the last ones).
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Mar 01, 2006 - 6:36 PM:

It doesn't have any deleted items in recent versions, as I already stated and pointed out the line of code that enforces. I just rejected a link (spenix.com) at links.webmastersite.net and it is quite assuredly not showing in the rss feed of latest links (not that I was expecting it to, given that it's logically impossible for it to show in present versions).
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



This thread is closed, so you cannot post a reply.