New Reply

Have PF on your website!

 
Share Thread Thread Tools
Apr3-04, 06:40 PM   #1
 
Admin
Blog Entries: 5

Have PF on your website!


Show some love for PF and share it with all your website/blog visitors.

Just copy this code into your page and thats it!

Code:
<a href="http://www.physicsforums.com">Physics Forums</a>
For people who are more advanced with the net and websites you can parse our RSS and XML feed:

http://physicsforums.bernhardtmedial...l.php?type=xml
http://physicsforums.bernhardtmedial...l.php?type=rss

Members will receive 6 months Gold Membership. Just PM me the URL where PF is linked from.
PhysOrg.com
PhysOrg
science news on PhysOrg.com

>> Intel's Haswell to extend battery life, set for Taipei launch
>> Galaxies fed by funnels of fuel
>> The better to see you with: Scientists build record-setting metamaterial flat lens
Apr4-04, 11:44 AM   #2
 
Admin
Blog Entries: 5
I should note that this feed only takes from the "physics forums", you can add more or exclude some by editing "forumids=111,61,62,63,64,71". You can find forum ids but looking at each forum url which will include the id.
Apr4-04, 12:01 PM   #3
 
Recognitions:
Retired Staff Staff Emeritus
Whats the limit for checking the rss feed? My ip got temporarily banned on slashdot because I wrote my program to check every 5 minutes. Slashdot only permits checking once every 30 minutes.
Apr4-04, 12:02 PM   #4
 
Admin
Blog Entries: 5

Have PF on your website!


Quote by dduardo
Whats the limit for checking the rss feed? My ip got temporarily banned on slashdot because I wrote my program to check every 5 minutes. Slashdot only permits checking once every 30 minutes.
We don't have a limit, but please be kind to our bandwidth and don't check every five minutes
Apr6-04, 02:34 PM   #5
 
Admin
Blog Entries: 5
Anyone using this? If so I'd like to sneek a peek at the site
Apr7-04, 03:17 PM   #6
 
Recognitions:
Gold Membership Gold Member
Science Advisor Science Advisor
Retired Staff Staff Emeritus
Well.. i did.. not that my site is really developed or anything.. besides the nice colors and all (I did the designing myself) ;)

it's under 'sites'
Apr7-04, 03:29 PM   #7
 
Admin
Blog Entries: 5
Quote by Monique
Well.. i did.. not that my site is really developed or anything.. besides the nice colors and all (I did the designing myself) ;)

it's under 'sites'

Looks good Monique!!
Jun2-04, 01:19 PM   #8
 
Admin
Blog Entries: 5
anyone else?
Jun3-04, 03:06 AM   #9
 
Quote by Greg Bernhardt
If you have your own website you can have an updated steam of current PF posts right on your site.

Just copy this code into your page and thats it!

Code:
<script src="http://physicsforums.bernhardtmediall.netdna-cdn.com/external.php?type=js&forumids=111,61,62,63,64,71" 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.physicsforums.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.physicsforums.com/external.php?type=xml
http://www.physicsforums.com/external.php?type=rss
Greg, I would be more than happy to have your website posted to mine. I finally have ours done for the state of Texas home educators. Problem is, I am now out of my "rhelm" for further programming and/or additions to the site. I need to find a person who would be willing to finish up a couple of additions...... hint, hint......
Sep10-04, 12:56 AM   #10
 
Can someone tell me the correct way to enter this code in MSFRONTPAGE
Sep10-04, 08:17 PM   #11
 
Highlight, Cntl-C, click into the code section for frontpage, Cntl-V
Sep11-04, 01:19 AM   #12
 
musky ox-Thanks-elas
Nov1-04, 04:41 PM   #13
 
hey this is a cool addon to any website. i will add it to my website soon since i'm a big fan of physicsforums.
Dec15-04, 02:06 AM   #14
 
Quote by elas
Can someone tell me the correct way to enter this code in MSFRONTPAGE

I was able to do this in Ms Frontpage. It's simple. You can either copy and paste the HTML into the page under "Code" view, or paste it into "Design" view and choose "Paste as HTML" from the suitcase icon.
Dec17-04, 07:57 PM   #15
 
Pretty cool :)
Mar31-05, 08:29 AM   #16
 
The script doesn't work in my IE5.5 browser. I get Javascript errors because apparently the threads don't download. It is OK with Mozilla and Opera though.
Also, I noticed that your server actually sends out 15 threads, whereas the script above prints out only 10.
Aug31-05, 06:33 PM   #17
 
Admin
Blog Entries: 5
Quote by Thomas2
The script doesn't work in my IE5.5 browser. I get Javascript errors because apparently the threads don't download. It is OK with Mozilla and Opera though.
Also, I noticed that your server actually sends out 15 threads, whereas the script above prints out only 10.
Right, you can change it back to 15, I thought 10 was a little neater though.
New Reply
Thread Tools


Similar Threads for: Have PF on your website!
Thread Forum Replies
Your website General Discussion 10
website bidding website General Discussion 3
Website General Discussion 0