|
|

Over the past few years, many readers
have asked us if there was a way for them to syndicate our news items
on their website. Now we have the ability to let other sites use Superhero
Hype! headlines.
We are providing the ability to syndicate our news in two different ways.
The first method is very simple using javascript, but it doesn't provide
much functionality. The second method uses RSS and provides you with lots
of ways to format the news. Both will
be discussed in enough detail that will allow most people to be able to
get the scripts up and running in a matter of minutes.
We would appreciate if you include 'Superhero Hype! Headlines' in text
above the either news feed method.
Javascript Syndication
Using a simple addition of javascript to your site, you can pull a headlines
newsfeed from Superhero Hype!. Because of its limitations, the javascript
does not give you much customization to your site. 'FILENAME' in the script
refers to what's after the 'news/' in each of the four links provided.
For example, if you want to use the 'Main Category' with 10 of the most
recent stories, you would insert 'http://superherohype.com/news/js-main-10.php'
into the script after the src=".
You can put <font> before and </font> after the script to
assign the text a font, size and color.
Use the following code:
<script language="JavaScript"
src="http://superherohype.comt/news/FILENAME.php" type="text/javascript"></script>
|
Name
|
Location
|
Description
|
|
These categories
will not ever change or be removed.
|
| Main Category |
|
10 most recent
stories (all categories) |
| Main Category |
|
5 most recent stories
(all categories) |
RSS Syndication
The second and much more powerful way to syndicate our news is using RSS
feeds. We are allowing our news categories to be captured via the Really
Simple Syndication protocol version .91. Using a script
on your website you can pull our newsfeed, configure it how you want,
and display it how you want. Using the script you can grab the headlines
output from our website and change it to display it on your site - it
is needed. (of course there are many other parsers that will do the job,
so look around)
There are multiple files that you can
call which give you different content depending on the categories. Here
is a list:
|
Name
|
Location
|
Description
|
|
These categories
may be changed or removed periodically.
|
| Main Category |
|
30 most recent
stories (all categories) |
| Main Category |
|
10 most recent
stories (all categories) |
| Main Category |
|
5 most recent stories
(all categories) |
You can find out more about the RSS protocol at the following sites:
- What
is RSS?
- Webreference
Articles with RSS
- RSS
FAQ (outdated but still useful)
Note: Even though we do allow our headlines to be syndicated, we
only provide limited support on the Technical
Support message board.
|
|