Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/Code)
 Mod: Syndication
 New Topic  Topic Locked
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 3

Kurt
Starting Member

30 Posts

Posted - 27 March 2001 :  21:09:26  Show Profile  Visit Kurt's Homepage
This mod allows you to distribute forum topics to any other website by allowing them to embed a javascript file inline with their HTML.

A demo can be seen at http://www.digitalcrack.net/forums/link.asp?TOPIC_ID=12.

A demo of the link builder can be seen at http://www.digitalcrack.net/forums/setupLinks.asp.

The required files can be downloaded at http://www.digitalcrack.net/snitz-syndication.zip.

I apologize if something like this has already been done, but I needed it for something and decided to make it available.

This script is useful if you would like to include recent or high activity forum threads on any other page of a website without actually imbedding any ASP or dealing with connections. It also allows other people to put links to your topics on their websites, completely inline with their HTML.

Any comments can be sent to kurt@nicefire.com


Edited by - Kurt on 27 March 2001 21:30:43

Kerry
Average Member

USA
553 Posts

Posted - 27 March 2001 :  21:24:46  Show Profile  Visit Kerry's Homepage
Awesome idea, Kurt! I use something similar to allow local site's to get their weather feed from mine (in beta: http://www.cantonweb.com/weatheron.htm) but I never thought about forum posts.

...er, could I trouble you for a working link, tho? I can't seem to get it with that one.

-Kerry

Go to Top of Page

Kerry
Average Member

USA
553 Posts

Posted - 27 March 2001 :  21:29:34  Show Profile  Visit Kerry's Homepage
Nevermind - I didn't look to see that the forum had coded it with http://forum.snitz.com as part of the link.

A straight copy-paste worked fine.

Kerry


Go to Top of Page

Kurt
Starting Member

30 Posts

Posted - 27 March 2001 :  21:32:10  Show Profile  Visit Kurt's Homepage
Sorry about that link, it's fixed now.

Go to Top of Page

Rob Poretti
Junior Member

Canada
435 Posts

Posted - 27 March 2001 :  21:44:38  Show Profile  Visit Rob Poretti's Homepage
Totally Kewl!

Thanks Kurt!!!

Rob

Rob Poretti
Sascom Marketing Group ~ Toronto
vox.905.825.5373 fax.905.825.5960
Go to Top of Page

Kurt
Starting Member

30 Posts

Posted - 28 March 2001 :  01:07:19  Show Profile  Visit Kurt's Homepage
It's been updated.

I added a way to output the links using either XML or Netscape's RSS format. Theoretically you can enter the location of the RDF file into the mod portion of Slashcode or PHP Nuke and have them seamlessly integrated onto a site. I haven't tried it though.

Go to Top of Page

Brent Trevel
Junior Member

Canada
122 Posts

Posted - 28 March 2001 :  02:22:16  Show Profile  Visit Brent Trevel's Homepage
Kurt,

Wow, great idea! This is such a good way to spread access to your forum with very little work and coding required on the linkers part. I do like, indeed, I do very much!

Mwahaha, soon the day will come when all websites will feature MY forums 5 most recent topics! Ahem. Sorry.

Sincerely,

Brent Trevel,
Combat Intelligence
www.combatintelligence.com
Go to Top of Page

wedont
Junior Member

Canada
344 Posts

Posted - 28 March 2001 :  16:00:10  Show Profile
Thanks Kurt, totaly awesome!

Question: The links include posts from "Private forums" which results in the visitors being sent to an error page! Could it be possible to prevent these posts from being included in the "syndication_links" ?
Also, when a topic is x pages long, could the "syndication-link" send the visitor to the latest page?


Wedont
snitz ver3.1 sr2
access 2k.

Edited by - wedont on 28 March 2001 16:02:53
Go to Top of Page

Kurt
Starting Member

30 Posts

Posted - 28 March 2001 :  16:23:28  Show Profile  Visit Kurt's Homepage
Heh... I didn't even think about private forums. That's an easy enough fix, I'll do it later this evening.

The page numbers thing will be put in too.

Good ideas.

Go to Top of Page

Kurt
Starting Member

30 Posts

Posted - 28 March 2001 :  18:20:53  Show Profile  Visit Kurt's Homepage
I added options to hide private threads, and also an option to jump directly to the last page of a thread.

To jump to the last page of a thread, you must now replace the "link.asp" file found in the forums directory with the new one included in the Zip file. There is only one very small change made to that file, so it will not affect anything else that uses it.

I also cleaned up the links the script generates a bit. I was getting an especially long query string.

Go to Top of Page

wedont
Junior Member

Canada
344 Posts

Posted - 28 March 2001 :  19:02:00  Show Profile
Hi Kurt,
Thanks for the Modif, I ran into this error with the new version (output:javascript)

runtime error
line1
error:syntax error

Probably minor !!!

Wedont
snitz ver3.1 sr2
access 2k.
Go to Top of Page

Kurt
Starting Member

30 Posts

Posted - 28 March 2001 :  19:07:55  Show Profile  Visit Kurt's Homepage
Can you give me a link to where you got that error? I'm not able to reproduce it.

Go to Top of Page

Kurt
Starting Member

30 Posts

Posted - 28 March 2001 :  19:28:39  Show Profile  Visit Kurt's Homepage
Oops, found it. I left out a space in one of the options for a SQL String.

It's fixed now, go ahead and grab the Zip file again and replace syndicate.asp with the new version.



Edited by - Kurt on 28 March 2001 19:29:32
Go to Top of Page

wedont
Junior Member

Canada
344 Posts

Posted - 28 March 2001 :  19:33:49  Show Profile
Great!

Btw, is the download fixed (no rush! )

Wedont
snitz ver3.1 sr2
access 2k.
Fantastic! It works great Kurt, thanks again!Its a god'sent.

Edited by - wedont on 28 March 2001 19:46:30
Go to Top of Page

Kurt
Starting Member

30 Posts

Posted - 28 March 2001 :  19:38:58  Show Profile  Visit Kurt's Homepage
Yeah, it's fixed.

Go to Top of Page

wedont
Junior Member

Canada
344 Posts

Posted - 28 March 2001 :  20:12:12  Show Profile
Just a thought Kurt:

Your Mod could also be made into a "desktop button(icon)" that users could (download, copy/ paste)use to open a popup mini window in there screen to check the recent activities on the forum !(could include:first 12 letters+date/time ?)
Sorry for saying so, but i think that would be a totaly brilliant marketing device!
The "QuickSnitz" !

Wedont
snitz ver3.1 sr2
access 2k.


Edited by - wedont on 28 March 2001 20:40:27
Go to Top of Page
Page: of 3 Previous Topic Topic Next Topic  
Next Page
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.13 seconds. Powered By: Snitz Forums 2000 Version 3.4.07