PoD ahoy!

Want to just shoot the breeze? Forum 42 is the place!

Moderator: Moderators

nos_slived
Higher Idiot
Posts: 3476
Joined: Mon Mar 21, 2005 6:32 pm
Location: Burnaby, BC, Canada
Contact:

Post by nos_slived »

I scream, you scream, we all scream for COOKIES!
Image
soundwave
Senior Member
Posts: 3653
Joined: Wed Feb 23, 2005 1:51 pm
Location: Connecticut

Post by soundwave »

I'm screaming and screaming, but all I get are complaints to shut up, am I doing this right?
bicostp
Moderator
Posts: 10491
Joined: Mon Mar 07, 2005 5:47 pm
Steam ID: bicostp
Location: Spamalot
Contact:

Post by bicostp »

Um, I just get random gibberish with "portablesofdoom.org" repeated a few times when I click on the RSS feed link. :?

I found a better way to make an RSS news feed <a href="http://www.downes.ca/cgi-bin/page.cgi?d ... l">here</a>. It uses standard, compatible XML and is actually easy to code in Notepad. (I've done it before, it's not hard.) :)

@Spongey and/or gannon: if you PM me some news, I might be able to whip a .xml feed together this afternoon. It would be ready within the next coupla days.
gannon
Moderator
Posts: 6974
Joined: Sun Apr 04, 2004 4:48 pm
Location: Near that one big lake
Contact:

Post by gannon »

the php generated rss feed works fine for me :?
usbcd36
Posts: 1293
Joined: Sun May 15, 2005 5:04 pm
Location: Inside Samus's arm cannon [gulp]___ Gender: Male

Post by usbcd36 »

Um, just a small correction. The link on the "completed" page for dkap01's PSp is broken (website no longer exists), it should go to www.portablesystems.net. I don't know if the Dreamcast one is the same way, but that's his site.
nos_slived
Higher Idiot
Posts: 3476
Joined: Mon Mar 21, 2005 6:32 pm
Location: Burnaby, BC, Canada
Contact:

Post by nos_slived »

Bic was right, most RSS feed readers won't accept PHP feeds. Make the feed creator print to an RSS file. If you have the creator script on that file, force type PHP for RSS files, and echo the XML that readers accept. (Hope you understand all that, because I made a mess of typing that)

Have you given any thought to cookies?
Image
gannon
Moderator
Posts: 6974
Joined: Sun Apr 04, 2004 4:48 pm
Location: Near that one big lake
Contact:

Post by gannon »

everything outputted from the php file is rss compliant xml. I guess I'm just used to using the superior linux rss viewers that don't care about extensions or mime types :P
I guess I'll just add the type listing to the ACL though :)
nos_slived
Higher Idiot
Posts: 3476
Joined: Mon Mar 21, 2005 6:32 pm
Location: Burnaby, BC, Canada
Contact:

Post by nos_slived »

It's output, but the XML tags are hidden. Some feed readers will accept that, but some only read from files with the extension RSS.

Cookies?
Image
gannon
Moderator
Posts: 6974
Joined: Sun Apr 04, 2004 4:48 pm
Location: Near that one big lake
Contact:

Post by gannon »

Yes, I do like cookies :P
Anyways, I'll probably just assign the php processor to .rss files too
Edit: Ok, new rss feed at http://portablesofdoom.org/feed.rss :)
I added the mime type and php processor, and even encoded the xml entities (since xml seems to hate the & amp; format :P)
nos_slived
Higher Idiot
Posts: 3476
Joined: Mon Mar 21, 2005 6:32 pm
Location: Burnaby, BC, Canada
Contact:

Post by nos_slived »

Check this out, somebody hacked the first news item!

I wonder who it was?

See gannon, told you we need COOKIES!
Image
gannon
Moderator
Posts: 6974
Joined: Sun Apr 04, 2004 4:48 pm
Location: Near that one big lake
Contact:

Post by gannon »

we have cookies :P
Oh yeah, and it looks like all you did is get past spongie's crappy coding :P
Last edited by gannon on Wed Oct 12, 2005 5:15 am, edited 1 time in total.
Jeff
Posts: 1402
Joined: Sun Dec 26, 2004 1:39 pm
Location: Probably banned soon...
Contact:

Post by Jeff »

Can we have a remember password option than? =D
PS360Wii Fanboy FTW!
Lucretius
Moderator
Posts: 4009
Joined: Mon Jan 31, 2005 7:25 pm
Location: *undisclosed*
Contact:

Post by Lucretius »

gannon wrote:we have cookies :P
Oh yeah, and it looks like all you did is get past spongie's crappy coding :P
"Oh snap! Oh tight! Oh snap some tights! :shock: "

:P

That's not too nice man, I think he did a great job, all from scratch!
-Luke
nos_slived
Higher Idiot
Posts: 3476
Joined: Mon Mar 21, 2005 6:32 pm
Location: Burnaby, BC, Canada
Contact:

Post by nos_slived »

Jeff wrote:Can we have a remember password option than? =D
That's what I'm talking about. The sessionID cookie is useless, because the server forgets that ID, even if we keep the cookie. We need user/pass cookies, which would help close that comments exploit.
Image
gannon
Moderator
Posts: 6974
Joined: Sun Apr 04, 2004 4:48 pm
Location: Near that one big lake
Contact:

Post by gannon »

Yeah, I added a cookie thing for that, but I just realized that we lost it when we moved servers (our backup was around 5 days old) :P
Post Reply