View Full Version : Have SCF on your website!


greg bernhardt
01-17-2005, 12:03 AM
If you have your own website you can have an updated steam of current SCF posts right on your site.

Just copy this code into your page and thats it!


<script src="http://www.sportscardforum.com/external.php?type=js&forumids=53,56,57,58,59,68" type="text/javascript"></script>
<script type="text/javascript">
document.writeln("<table cellspacing=\"0\" cellpadding=\"4\" width=\"100%\">");
for(var i=0; i<10; i++)
{
if(i < 9)
document.writeln("<tr><td style=\"border-bottom: 1px solid #B4C1CD\">");
else
document.writeln("<tr><td>");
document.writeln("<small><a href=\"http://www.sportscardforum.com/showthread.php?t="+threads[i].threadid+"\">"+threads[i].title+"</a></small></td></tr>");
}
document.writeln("</table>");
</script>


For people who are more advanced with the net and websites you can parse our RSS and XML feed:

http://www.sportscardforum.com/external.php?type=xml
http://www.sportscardforum.com/external.php?type=rss

greg bernhardt
01-17-2005, 12:05 AM
I should note that this feed only takes from the "card forums", you can add more or exclude some by editing "forumids=53,56,57,58,59,68". You can find forum ids but looking at each forum url which will include the id.

greg bernhardt
01-17-2005, 04:38 PM
Anyone try this yet? If so, feel free to post your website you have it on.

pr0phet
01-18-2005, 01:01 AM
Greg,

I will see what it looks like shortly. Check my page in about 15 minutes from this time

Jay

I am personally not much for HTML, java and related languages. But Freewebs is not allowing me to post Java on the site.. Any direct HTML references I could use.

tutall
01-18-2005, 01:27 AM
prophet - you have to use the URL or HTML code at the top of the page in the page editor.. i ran into the same problem with a code i put in

pr0phet
01-18-2005, 01:44 AM
Thanks Mitch,

I didnt use the URL section((will try tommrow)) But the HTML part would not let me submit my code.

Jay

will22clark
12-29-2005, 10:26 AM
wont let me either

Bondsaway
04-05-2006, 01:34 PM
Greg,
I just tried taht on my freewebs and it doesn't come up.

golfmanccl
04-05-2006, 05:56 PM
hey i tried it on my site and its just comes up blank
any ideas

greg bernhardt
04-26-2006, 01:58 AM
anyone else having trouble?

redjet
05-04-2006, 11:10 PM
Works great for me...nice job, greg

greg bernhardt
09-13-2006, 12:46 PM
Post your link if you are using this code! :)

telfair31wright15
10-07-2006, 01:41 PM
I'll add it later to my site, www.quincydouby.net

greg bernhardt
11-01-2006, 03:16 PM
I'll add it later to my site, www.quincydouby.net

thanks for your support telfair31wright15! :)

golfermatt91
11-06-2006, 08:57 PM
Greg can you go to my site and see what i did wrong because its not working

www.freewebs.com/golfermatt91/

greg bernhardt
11-06-2006, 09:02 PM
Greg can you go to my site and see what i did wrong because its not working

www.freewebs.com/golfermatt91/

hmm looks like maybe freewebs doesn't allow javascript?

golfermatt91
11-06-2006, 09:04 PM
Okay thanks.