Page 1 of 3

Install Topix on your website! (RSS feeds too)

Posted: Thu Jun 14, 2007 3:21 pm
by ERIC
Topix Anywhere!

Have your own Website? Using this quick and easy-to-use form, forum topic titles of any or all of the Topix forums will appear on any Webpage you want. Set your presonal preferences in the form for how you would like the topic and forum links to appear on your site. The form includes a preview area so you can see how it'll look before inserting the code into your page(s). The topic titles and links are automatically updated on your own site, live, as people post to High Sierra Topix! Even better, once customized using the form, the thread titles and links will have the look and feel of your own Website. It's also possible to generate a RSS feed for use in a RSS aggregator from this same form!

topics_anywhere.php

Let me know if you have any questions, or would like help setting it up. To see Topix Anywhere in action, go to the Main Page of this Website. You may also post your link in this thread so that others can see how you have incorporated the script into your site. :)

Posted: Thu Jun 14, 2007 9:32 pm
by Shawn
This is great Eric. I've put an HST feed on my page here:
http://www.theradioroom.org/mountains.htm

Posted: Thu Jun 14, 2007 9:58 pm
by mountaineer
Computer dummy me can't figure it out. I added a page to my site and then added the java script to that page but the javascript just shows up. Heeeeeellllllppppp!:)

Posted: Fri Jun 15, 2007 7:10 am
by ERIC
Cool, Shawn!

Jody, give me a link, and I'll post the source code for how you should insert the javascript in this thread. :)

Posted: Fri Jun 15, 2007 10:02 am
by mountaineer
Eric, I can't get it to work on my site. Maybe I can PM you the login info for my site and you can do it for me?

Posted: Fri Jun 15, 2007 1:11 pm
by ERIC
mountaineer wrote:Eric, I can't get it to work on my site. Maybe I can PM you the login info for my site and you can do it for me?
Sure. No problem. PM me and I'll see what I can do.
Here's what it looks like inserted into a simple html page:

Code: Select all

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Untitled Document</title>
</head>

<body>
<script language="JavaScript" type="text/javascript" src="http://www.highsierratopix.com/community/topics_anywhere.php?mode=show&f=uMSw1LD.........."></script>
</body>

</html>
Note: I deleted part of the script and replaced it with a series of ....... so that it wouldn't stretch this page.

Posted: Sat Jun 16, 2007 8:43 am
by mountaineer
Okay, I think I can do it now. The only thing that shows up when I go through the link you provided is the "script" portion of your post(the second half). None of the html code shows up in your tool for me to copy/paste.

Posted: Sat Jun 16, 2007 8:55 am
by mountaineer
http://www.sierramountainphotography.com/id36.html

I wish I knew how to swap the colors for the font. I would rather have the titles stand out in the bright yellow.

Posted: Sat Jun 16, 2007 11:02 am
by ERIC
Leave that page up, and I'll email you the edited "id36.html" file to replace the current one. As for the font and link colors, they take on the characteristics of the page CSS. I can help you customize. Just let me know what you'd like it to look like.

From a quick glance at your page, it looks like you copied and pasted almost everything from my previous post (including the head tags and one of the html tags). So now your page has four head tags and three html tags, when there should only be one set of each (open and close). So in a nutshell (having deleted a bunch of tables and such so you can see the basic layout of your page), your page's source code looks like this:

Code: Select all

<html>
   <HEAD>
<title>Sierra Nevada Forum</title>
   </HEAD>

   <body leftmargin="0" topmargin="0" rightmargin="4" marginwidth="0" marginheight="0" bgcolor="#ffffff" link="#0066cc" vlink="#0066cc" alink="#990099" style="background-image: url(/imagelib/sitebuilder/layout/mkg_basicblack_1.gif); background-repeat: no-repeat;">

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 
                           <html> 
                           <head> 
                           <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> 
                           <title>Untitled Document</title> 
                           </head> 
                           <script language="JavaScript" type="text/javascript" src="http://www.highsierratopix.com/community/topics_anywhere.php?mode=show&f=uMSw2............"></script>
                           <!--"''"--></DIV></i></b></font>
                        </p>
   </body>
</html>
Notice the open and closed html and head tags in the middle of the code above. Those shouldn't be there. The only part you need to have out of that example I gave in my previous post is this:

Code: Select all

<script language="JavaScript" type="text/javascript" src="http://www.highsierratopix.com/community/topics_anywhere.php?mode=show&f=uMS........"></script>
Again, be aware that I have removed a portion of the src link to keep this page from stretching...

Posted: Tue Jun 19, 2007 5:56 pm
by ERIC
Took me some time to get to it, but it's up and running, Jody. Let me know if what's there is OK with you.

http://www.sierramountainphotography.com/id36.html