think tank forum

ttf development » rss

lucas's avatar
15 years ago
link
lucas
i ❤ demo
k, so this stuff is super easy to code up.

what kind of feeds do you want?

examples:
1. threads most recently posted in for the whole site
2. most recent posts for the whole site
3. threads most recently posted in for a specific forum
4. most recent posts for a specific forum
5. most recent posts for a specific thread
nestor's avatar
15 years ago
link
nestor
nestor
not sure. will "have a think" about it
bluet's avatar
15 years ago
r1, link
bluet
this post has been archived.
bluet's avatar
15 years ago
link
bluet
a freshies feed would be nice
Carpetsmoker's avatar
15 years ago
link
Carpetsmoker
Martin
Why not all and let people make ``personal'' feeds? Requires more coding though ...
dannyp's avatar
15 years ago
link
dannyp
dʎuuɐp
if #2, utilize the jump feature!
lucas's avatar
15 years ago
link
lucas
i ❤ demo
i'm leaning towards #1 (a freshies feed).
phi_'s avatar
15 years ago
link
phi_
... and let the Earth be silent after ye.
Freshies feed ftw.
nestor's avatar
15 years ago
link
nestor
nestor
freshfeed
lucas's avatar
15 years ago
link
lucas
i ❤ demo
any other requests?
lucas's avatar
15 years ago
link
lucas
i ❤ demo
if i make this feed, will you stop mashing, nestor?

i kinda like mashers.
bluet's avatar
15 years ago
link
bluet
i'll rss mash
nestor's avatar
15 years ago
link
nestor
nestor
i'll mash till i die
rss don't update enough
lucas's avatar
15 years ago
link
lucas
i ❤ demo
YES
Carpetsmoker's avatar
15 years ago
link
Carpetsmoker
Martin
What the hell is mashing anyway? I do that with potatoes...
asemisldkfj's avatar
15 years ago
link
asemisldkfj
the law is no protection
mashing the refresh keycombo!
lucas's avatar
14 years ago
r1, link
lucas
i ❤ demo
okay, the problem i have with a personal freshie feed is authentication. we could have a url like this:

http://www.thinktankforums.com/rss/fresh/1234/

where 1234 is the user_id. but then other people would be able to see what you've read or haven't read. so i think there should be some sort of authentication.

how about this idea:

on the "edit your profile" page, there would be a button that generates a passcode seperate from your password. then when you're logged in, ttf links rss feeds with your passcode automatically placed in the url, so it is transparent to the user.

but if you somehow manage to compromise your passcode, you can return to the "edit your profile" page and generate a new passcode. you would have to update your rss url with your reader, consequently.

--

we could just use your normal password in the url and only use https for the rss feed, but i'm afraid that a feed reader might compromise your password. also, you may want to change your password without having to update your rss urls.

i think this passcode might be useful for other GET requests with future features.

how does this sound?
lucas's avatar
14 years ago
link
lucas
i ❤ demo
i guess we don't really need to personalize the freshie feed. the benefit of personalizing the freshie feed is that threads that you have read on the forum won't appear in your feed.

or does rss even work like that?

say rss.php displays threads 3, 4, 5, and 6.
your reader gets 3, 4, 5, and 6 as rss items.
you go to ttf and read thread 4.
your reader updates and gets 3, 5, and 6 (no 4).

wil the reader still display thread 4 from earlier? or not? (do readers cache? i've definitely had experiences with google reader's cache.)
bluet's avatar
14 years ago
link
bluet
I don't think the reader built into Firefox caches.
bsdlite's avatar
14 years ago
link
bsdlite
thinks darkness is his ally
> 2. most recent posts for the whole site

can rss.php please:

* display thread titles instead of cryptic thread id and revision number
* not link to "revision.php", but to "thread.php"
bsdlite's avatar
14 years ago
link
bsdlite
thinks darkness is his ally
bump
lucas's avatar
14 years ago
link
lucas
i ❤ demo
:p
lucas's avatar
14 years ago
link
lucas
i ❤ demo
testing new rss... (dumb google reader cache)
lucas's avatar
14 years ago
link
lucas
i ❤ demo
trying again.
lucas's avatar
14 years ago
link
lucas
i ❤ demo
COME ON GOOGLE, UPDATE YOUR CACHE
lucas's avatar
14 years ago
link
lucas
i ❤ demo
bounce
lucas's avatar
14 years ago
link
lucas
i ❤ demo
hm.
lucas's avatar
14 years ago
link
lucas
i ❤ demo
http://validator.w3.org/feed/
lucas's avatar
14 years ago
link
lucas
i ❤ demo
r412
dannyp's avatar
14 years ago
link
dannyp
dʎuuɐp
what bsdlite said.
lucas's avatar
14 years ago
link
lucas
i ❤ demo
> * display thread titles instead of cryptic thread id and revision number

that part?

> * not link to "revision.php", but to "thread.php"

because i did this part.

it just that it's not a thread feed--it's a revision feed. but i can include the thread title when the revision type is a post.
asemisldkfj's avatar
14 years ago
link
asemisldkfj
the law is no protection
rss is easy. I made a feed for my blog. I copied a bit from ttf's code :).
Chiken's avatar
14 years ago
link
Chiken
Don't Let Your Walls Down
so do you have a setup that auto updates the feed? or do you manually update the feed?

also, i never thought of using unicode to embed the html in the xml file. i was racking my brains trying to figure that out.
asemisldkfj's avatar
14 years ago
link
asemisldkfj
the law is no protection
well the feed file is dynamically generated from the mysql database.