Install Topix on your website! (RSS feeds too) | High Sierra Topix  

Install Topix on your website! (RSS feeds too)

Grab your bear can or camp chair, kick your feet up and chew the fat about anything Sierra Nevada related that doesn't quite fit in any of the other forums. Within reason, (and the HST rules and guidelines) this is also an anything goes forum. Tell stories, discuss wilderness issues, music, or whatever else the High Sierra stirs up in your mind.
User avatar

Install Topix on your website! (RSS feeds too)

Postby ERIC » Thu Jun 14, 2007 3:21 pm

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. :)
Last edited by ERIC on Wed Aug 29, 2007 7:42 pm, edited 1 time in total.
New members, please consider giving us an intro!
Follow us on Twitter @HighSierraTopix. Use hashtags #SIERRAPHILE #GotSierra? #GotMountains?
Follow us on Facebook: https://www.facebook.com/HighSierraTopix



User avatar
ERIC
Your Humble Host & Forums Administrator
Your Humble Host & Forums Administrator
 
Posts: 2909
Joined: Fri Oct 28, 2005 9:13 am
Location: between the 916 and 661
Experience: Level 4 Explorer

User avatar

Postby Shawn » Thu Jun 14, 2007 9:32 pm

This is great Eric. I've put an HST feed on my page here:
http://www.theradioroom.org/mountains.htm
User avatar
Shawn
Topix Expert
 
Posts: 795
Joined: Sat Nov 12, 2005 9:56 pm
Location: Paso Robles, Ca
Experience: Level 4 Explorer

User avatar

Postby mountaineer » Thu Jun 14, 2007 9:58 pm

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!:)
User avatar
mountaineer
Founding Member
 
Posts: 651
Joined: Sun Nov 20, 2005 8:35 pm
Experience: N/A

User avatar

Postby ERIC » Fri Jun 15, 2007 7:10 am

Cool, Shawn!

Jody, give me a link, and I'll post the source code for how you should insert the javascript in this thread. :)
New members, please consider giving us an intro!
Follow us on Twitter @HighSierraTopix. Use hashtags #SIERRAPHILE #GotSierra? #GotMountains?
Follow us on Facebook: https://www.facebook.com/HighSierraTopix
User avatar
ERIC
Your Humble Host & Forums Administrator
Your Humble Host & Forums Administrator
 
Posts: 2909
Joined: Fri Oct 28, 2005 9:13 am
Location: between the 916 and 661
Experience: Level 4 Explorer

User avatar

Postby mountaineer » Fri Jun 15, 2007 10:02 am

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?
User avatar
mountaineer
Founding Member
 
Posts: 651
Joined: Sun Nov 20, 2005 8:35 pm
Experience: N/A

User avatar

Postby ERIC » Fri Jun 15, 2007 1:11 pm

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.
New members, please consider giving us an intro!
Follow us on Twitter @HighSierraTopix. Use hashtags #SIERRAPHILE #GotSierra? #GotMountains?
Follow us on Facebook: https://www.facebook.com/HighSierraTopix
User avatar
ERIC
Your Humble Host & Forums Administrator
Your Humble Host & Forums Administrator
 
Posts: 2909
Joined: Fri Oct 28, 2005 9:13 am
Location: between the 916 and 661
Experience: Level 4 Explorer

User avatar

Postby mountaineer » Sat Jun 16, 2007 8:43 am

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.
User avatar
mountaineer
Founding Member
 
Posts: 651
Joined: Sun Nov 20, 2005 8:35 pm
Experience: N/A

User avatar

Postby mountaineer » Sat Jun 16, 2007 8:55 am

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.
User avatar
mountaineer
Founding Member
 
Posts: 651
Joined: Sun Nov 20, 2005 8:35 pm
Experience: N/A

User avatar

Postby ERIC » Sat Jun 16, 2007 11:02 am

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...
New members, please consider giving us an intro!
Follow us on Twitter @HighSierraTopix. Use hashtags #SIERRAPHILE #GotSierra? #GotMountains?
Follow us on Facebook: https://www.facebook.com/HighSierraTopix
User avatar
ERIC
Your Humble Host & Forums Administrator
Your Humble Host & Forums Administrator
 
Posts: 2909
Joined: Fri Oct 28, 2005 9:13 am
Location: between the 916 and 661
Experience: Level 4 Explorer

User avatar

Postby ERIC » Tue Jun 19, 2007 5:56 pm

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
New members, please consider giving us an intro!
Follow us on Twitter @HighSierraTopix. Use hashtags #SIERRAPHILE #GotSierra? #GotMountains?
Follow us on Facebook: https://www.facebook.com/HighSierraTopix
User avatar
ERIC
Your Humble Host & Forums Administrator
Your Humble Host & Forums Administrator
 
Posts: 2909
Joined: Fri Oct 28, 2005 9:13 am
Location: between the 916 and 661
Experience: Level 4 Explorer

User avatar

Postby mountaineer » Wed Jun 20, 2007 6:07 pm

Just saw it Eric. Looks great. Thanks!

http://www.sierramountainphotography.com/id36.html
User avatar
mountaineer
Founding Member
 
Posts: 651
Joined: Sun Nov 20, 2005 8:35 pm
Experience: N/A

User avatar

Postby ERIC » Wed Jun 20, 2007 9:22 pm

Great. Glad you approve. PM me if you have any questions, or have any problems in the future.
New members, please consider giving us an intro!
Follow us on Twitter @HighSierraTopix. Use hashtags #SIERRAPHILE #GotSierra? #GotMountains?
Follow us on Facebook: https://www.facebook.com/HighSierraTopix
User avatar
ERIC
Your Humble Host & Forums Administrator
Your Humble Host & Forums Administrator
 
Posts: 2909
Joined: Fri Oct 28, 2005 9:13 am
Location: between the 916 and 661
Experience: Level 4 Explorer

Next

Return to The Campfire



Who is online

Users browsing this forum: Yahoo [Bot] and 4 guests