Register FAQ Search Today's Posts Mark Forums Read
Go Back   JazzJackrabbit Community Forums » Maintenance & Feedback » Site and Forum Rules, Questions & Feedback

Putting "latest posts" of a topic on other sites...

Xion

JCF Veteran

Joined: Dec 2002

Posts: 5,091

Xion is doing well so far

Sep 13, 2003, 12:07 PM
Xion is offline
Reply With Quote
Putting "latest posts" of a topic on other sites...

I've had this idea for a bit now, with the Radium's Pre-3.1 game. If this could be pumped into a LJ or Website (other than the JCF) and have it update daily (with the latest topics since it last visited) it would be delightful!

I can generate an LJ code for this, if needed...
__________________
Radium

JCF Éminence Grise

Joined: Jul 2002

Posts: 12,275

Radium is an asset to this forum

Sep 13, 2003, 12:08 PM
Radium is offline
Reply With Quote
Try a hyperlink.
__________________
GENERATION 22: The first time you see this, copy it into your sig on any forum and add 1 to the generation. Social experiment.

<i>"This picture shows me that the gray bird man is just a bully and picks on smaller birds. Just because he has no friends and takes it out on others smaller than him to look good. I can see in the parrats eyes that it does however have a understanding of the gray bird man and is upset about getting cut."</i> - Speeza on cartoon birds.
Trafton

JCF Member

Joined: Oct 2002

Posts: 3,589

Trafton is an asset to this forum

Sep 13, 2003, 12:13 PM
Trafton is offline
Reply With Quote
This would be external coding, not the JCF's.

~ Traft
Xion

JCF Veteran

Joined: Dec 2002

Posts: 5,091

Xion is doing well so far

Sep 13, 2003, 01:05 PM
Xion is offline
Reply With Quote
aww, there's nothing that can happen within the JCF that can do that, like pump out topics in XML?
__________________
FQuist

JCF Member

Joined: Sep 2001

Posts: 3,251

FQuist is an asset to this forumFQuist is an asset to this forum

Sep 13, 2003, 01:48 PM
FQuist is offline
Reply With Quote
Don't think so.
__________________
“The truth is that everything that can be accomplished by showing a person when he's wrong, ten times as much can be accomplished by showing him where he is right.” - Robert T. Allen

Interesting Jazz-related links:
Thread: Gameplay Theories - Thread: Make Up Your Own Gametype

Spotify.fm

Radium

JCF Éminence Grise

Joined: Jul 2002

Posts: 12,275

Radium is an asset to this forum

Sep 13, 2003, 02:19 PM
Radium is offline
Reply With Quote
-Click: Show Printable Version
Ctrl+A
Ctrl+C
-Click: LJ
Ctrl+V

__________________
GENERATION 22: The first time you see this, copy it into your sig on any forum and add 1 to the generation. Social experiment.

<i>"This picture shows me that the gray bird man is just a bully and picks on smaller birds. Just because he has no friends and takes it out on others smaller than him to look good. I can see in the parrats eyes that it does however have a understanding of the gray bird man and is upset about getting cut."</i> - Speeza on cartoon birds.
Xion

JCF Veteran

Joined: Dec 2002

Posts: 5,091

Xion is doing well so far

Sep 14, 2003, 11:59 AM
Xion is offline
Reply With Quote
XML, foo.
__________________
Onag

JCF Member

Joined: Feb 2002

Posts: 165

Onag is doing well so far

May 8, 2004, 09:34 AM
Onag is offline
Reply With Quote
*Bump*

This can actually be accomplished fairly easily by using RSS (Really Simple Syndication). It's a standard (or at least it's in the process of becoming standard) means of exporting news, blogs, or basically anything using XML.

Here's what needs to happen:

J2O needs to use a [freely available] RSS writer to export what it wants.
- This would generate a file like www.jazz2online.com/jcf/thread-182496.xml
Other websites simply pass that file to their [freely available] RSS reader.
- They can then display it using any means desired (typically XHTML).

This actually sounds like a fun project to work on. Problem is, if it was used too extensively, it would eat more J2O bandwidth. It shouldn't be too bad, though. Admins would be able to 'turn on' RSS for a particular thread or forum, so they wouldn't have thousands of useless XML files laying around. Also, very few people would actually tap into the RSS for their websites.

Hmm, I think I'm going to try something like this with the Mechaius forum. Not that anyone goes there, but it would still be fun.

-Nag
__________________
http://www.inocompany.com/
Onag

JCF Member

Joined: Feb 2002

Posts: 165

Onag is doing well so far

May 8, 2004, 10:07 AM
Onag is offline
Reply With Quote
Hmm...

Upon looking further into this, I have found that vBulletin 3 actually already has built-in mechanisms for doing this sort of thing. It has to do with an external.php script, which doesn't seem to be working properly for JCF. It allows you to view latest threads using either JavaScript or RSS. I'm not sure if it allows latest posts within threads, but I'm sure it does.

Anyway, I'm not sure why the script isn't working for JCF. Maybe it's disabled or was crippled in a hack attempt? By hack, I mean an admin attempt to add/change a feature, not a hacker trying to be stupid.

-Nag
__________________
http://www.inocompany.com/
Newspaz

JCF Member

Joined: Jan 2001

Posts: 2,678

Newspaz has disabled reputation

May 8, 2004, 02:16 PM
Newspaz is offline
Reply With Quote
Yes! Lets spoil even more bandwidth!
Trafton

JCF Member

Joined: Oct 2002

Posts: 3,589

Trafton is an asset to this forum

May 8, 2004, 03:13 PM
Trafton is offline
Reply With Quote
Quote:
Originally Posted by Newspaz
Yes! Lets spoil even more bandwidth!
Exactly.

This is a nicety that probably can't be afforded considering the current bandwidth situation. Unless you'd like to pay for it yourself, you'll have to - GASP! - spend an extra two seconds checking the JCF.

~ Traft
SteelTalon

JCF Member

Joined: Mar 2001

Posts: 661

SteelTalon is doing well so far

May 8, 2004, 03:18 PM
SteelTalon is offline
Reply With Quote
Quote:
Originally Posted by Trafton
Exactly.

This is a nicety that probably can't be afforded considering the current bandwidth situation. Unless you'd like to pay for it yourself, you'll have to - GASP! - spend an extra two seconds checking the JCF.

~ Traft
Which... wouldn't use any bandwidth?
__________________
-SteelTalon, Black Wolf
<font size="-2">
the ELM tree
PreSenT PaST
</font>
Trafton

JCF Member

Joined: Oct 2002

Posts: 3,589

Trafton is an asset to this forum

May 8, 2004, 04:06 PM
Trafton is offline
Reply With Quote
Quote:
Originally Posted by SteelTalon
Which... wouldn't use any bandwidth?
Checking the JCF would use less bandwidth than an RSS feed, which checks periodically. Plus an RSS feed would encourage people to refresh it more often, meaning more hits. New pages would have to be generated for each topic, meaning almost two times as much disk space would be used per topic, as well.

~ Traft
FQuist

JCF Member

Joined: Sep 2001

Posts: 3,251

FQuist is an asset to this forumFQuist is an asset to this forum

May 8, 2004, 04:08 PM
FQuist is offline
Reply With Quote
Quote:
Originally Posted by Onag
Upon looking further into this, I have found that vBulletin 3 actually already has built-in mechanisms for doing this sort of thing. It has to do with an external.php script, which doesn't seem to be working properly for JCF. It allows you to view latest threads using either JavaScript or RSS. I'm not sure if it allows latest posts within threads, but I'm sure it does.

Anyway, I'm not sure why the script isn't working for JCF. Maybe it's disabled or was crippled in a hack attempt? By hack, I mean an admin attempt to add/change a feature, not a hacker trying to be stupid.

-Nag
Well, this is a gamma version of vB3. Perhaps that's the reason. But we'd have to pay $30 (year's updates fee) to get a higher version. (It makes me angry at Jelsoft - first they are so slow with their v3 release that it takes months longer before it's there then they charge you for the fact they didn't do it within that time. And that for a product that seems more bloated than ever.)
__________________
“The truth is that everything that can be accomplished by showing a person when he's wrong, ten times as much can be accomplished by showing him where he is right.” - Robert T. Allen

Interesting Jazz-related links:
Thread: Gameplay Theories - Thread: Make Up Your Own Gametype

Spotify.fm

Onag

JCF Member

Joined: Feb 2002

Posts: 165

Onag is doing well so far

May 8, 2004, 09:39 PM
Onag is offline
Reply With Quote
Doesn't phpBB have a conversion utility for vBulletin? It's free, and has plenty of hacks to provide anything you might need.

And in defense of the RSS idea...

It would require virtually no extra bandwidth to run this. A single script (external.php) is used to dynamically generate a small RSS file only when it's requested by a client website. Or better yet, it can be used to generate an even smaller JavaScript that accomplishes the same thing.

This could actually save bandwidth for J2O. When I visit JCF, I only check 2-3 forums, and even then, only if they have new posts in them. I usually check at least once daily, and usually only see anything I'm interested in maybe 3 times a week.

If there were an overview of the latest posts on J2O (which I check anyway), I'd be able to save the trip (and bandwidth) several times a week. It would also save at least 2 page loads even when there are posts I'm interested in. I'd be able to jump straight to the first topic of interest, rather than start at the forum listing.

-Nag
__________________
http://www.inocompany.com/
FQuist

JCF Member

Joined: Sep 2001

Posts: 3,251

FQuist is an asset to this forumFQuist is an asset to this forum

May 9, 2004, 12:35 PM
FQuist is offline
Reply With Quote
Yeah - I'm kind of in favour of the idea. For j2ov2 btw, we already have a basic new/newly updated topics list. We just need to add a forum selecter. And J2Ov2 news has RSS. Still, adding RSS for JCF might be a neat idea.

Never am I going to switch to phpBB though. I don't have much good words left for that software. Just adminning it for a big forum already is terrible.
__________________
“The truth is that everything that can be accomplished by showing a person when he's wrong, ten times as much can be accomplished by showing him where he is right.” - Robert T. Allen

Interesting Jazz-related links:
Thread: Gameplay Theories - Thread: Make Up Your Own Gametype

Spotify.fm

Link

Untitled

Joined: Apr 2001

Posts: 2,099

Link is doing well so far

May 10, 2004, 09:36 AM
Link is offline
Reply With Quote
Using syndication would use much less bandwidth than actually visiting the site, because all the HTML formatting is not present. It's now enabled on the JCF:

http://www.jazz2online.com/jcf/external.php?type=rss
http://www.jazz2online.com/jcf/external.php?type=xml
http://www.jazz2online.com/jcf/external.php?type=js

However, it only seems to show the latest topics and their names, without any post content. It might be good to make an additional script that outputs latest posts from a given thread, or from a specific forum.
__________________
With our extreme gelatinous apology,
We beg to inform your Imperial Majesty,
Unto whom be dominion and power and glory,
There still remains that strange precipitate
Which has the quality to resist
Our oldest and most trusted catalyst.
It is a substance we cannot cremate
By temperatures known to our Laboratory.

~ E.J. Pratt
 
Onag

JCF Member

Joined: Feb 2002

Posts: 165

Onag is doing well so far

May 12, 2004, 11:13 AM
Onag is offline
Reply With Quote
Cool, so now the test I wrote a few days ago should work.

Link: JavaScript Test

Anyone interested can use that page as a basis for their own sites.

-Nag
__________________
http://www.inocompany.com/
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump

All times are GMT -8. The time now is 04:39 AM.