Welcome Guest [Log In] [Register]
This board has been archived and is no longer accepting new questions. If you have a support question for your ZetaBoard, please visit us at the new support board. Registration is free and easy.


Visit the NEW ZetaBoards Support forum!

Username:   Password:
Add Reply
Runescape News
Topic Started: Feb 25 2008, 07:56 PM (3,255 Views)
James
Imagine♥
[ *  * ]
Code:
 
<script type="text/javascript" src="http://james.boxdo.org/zb/rsnews.php"></script>

Demo

Simple PHP script displaying the latest Runescape News. It will update whenever the news updated :)

-----

Version 3.0 - All Runescape News

Previews in the demo link :)

Final release
Edited by James, Jun 3 2008, 02:38 PM.
Offline Profile Quote Post Goto Top
 
Chris
Member Avatar
Member
[ *  *  *  * ]
It would be better if people could customize your runescape codes. Such as format (mainly for this one..).

You could get the script to change the content of <div id='Runescape-Online'></div> to the number of users online, or maybe <div id='Runescape-News_Title'></div> to the title of recent news.

Good codes though. I've never even heard of reading DOM with PHP until I saw the first code you posted. :)
Good Job =)
Edited by Chris, Feb 26 2008, 04:53 PM.
Offline Profile Quote Post Goto Top
 
WeirdAdz
Member Avatar
You cant go through life without saying something is Weird.
[ *  * ]
It would be better if not just for Runescape, but that you make the code and that we just have to enter a link of where there is another news type format and it does exactly the same.
Offline Profile Quote Post Goto Top
 
James
Imagine♥
[ *  * ]
WeirdAdz
Feb 26 2008, 05:23 PM
It would be better if not just for Runescape, but that you make the code and that we just have to enter a link of where there is another news type format and it does exactly the same.
Ha, if only.
Offline Profile Quote Post Goto Top
 
WeirdAdz
Member Avatar
You cant go through life without saying something is Weird.
[ *  * ]
I dont know how you did that Runescape one..

But wouldnt it basically just be the same?
Offline Profile Quote Post Goto Top
 
James
Imagine♥
[ *  * ]
Not quite, each page source is different, coded differently, meaning the script will be looking for a div that's not on the page, outputting nothing.
Offline Profile Quote Post Goto Top
 
Negima
Member Avatar
Member
[ * ]
Do you have a RuneScape skin by chance? That'd be nice and by the way I don't think the code is working correctly, I put it on my forum and it didn't show anything. (And I'm using firefox.)
Offline Profile Quote Post Goto Top
 
Chris
Member Avatar
Member
[ *  *  *  * ]
Put it in a portal block.
Offline Profile Quote Post Goto Top
 
James
Imagine♥
[ *  * ]
No it's my fault. When I first hosted it I used the wrong web host. I've updated it but obviously it's not working right now. I will get it fixed.

All working correctly now. Remember to use the new link I've added.
Edited by James, Mar 2 2008, 08:02 AM.
Offline Profile Quote Post Goto Top
 
Joel19891
Member
[ *  * ]
Hi James,

I made a post on the other RS Thread you have with a code for the Online Users. I'd just like to say a code for displaying all News on the mainpage would be great and definately something I could put to use.

:)
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
Go to Next Page
« Previous Topic · User Created Codes · Next Topic »
Add Reply