Experimenting at the moment

For announcements about the site etc...

Moderators: whykay, admin, JCYC, dragonboy, William_juve_lee

Experimenting at the moment

Postby whykay » Sun Sep 05, 2004 2:11 pm

Some of you may or may not notice that on IBC blog, the last 10 posts on this forum! :D My BF has done up some nifty code, I'll update with more info later. Just trying out to make sure that the posts are updated automatically on the front page.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~ Irish Born Chinese - http://irishbornchinese.com
~~ Personal - http://whykay.tumblr.com
~~ Python Ireland - http://python.ie
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
User avatar
whykay
Site Admin
 
Posts: 2302
Joined: Mon Sep 23, 2002 11:40 pm
Location: Dublin

Minor tweaks

Postby mick » Sun Sep 05, 2004 2:24 pm

Just tweaked to find posts instead of topics.
User avatar
mick
Site Admin
 
Posts: 50
Joined: Mon Sep 23, 2002 11:33 pm
Location: Dublin

Postby whykay » Sun Sep 05, 2004 8:00 pm

The script to update the front page with the latest topics posted. I noticed that if a topic was updated several times, the list would contains this topic several times, so my BF updated the script to just list the topic once. And it works a treat. :)
Will give a pointer to my BF's site for people to use to grab last 10 topics posted to forum and generate XML or HTML from the output. (He will also add more formats to generate, such as RSS feeds)

A great big thank you to Mick! :D
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~ Irish Born Chinese - http://irishbornchinese.com
~~ Personal - http://whykay.tumblr.com
~~ Python Ireland - http://python.ie
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
User avatar
whykay
Site Admin
 
Posts: 2302
Joined: Mon Sep 23, 2002 11:40 pm
Location: Dublin


Return to General News

Who is online

Users browsing this forum: No registered users and 2 guests

cron