Put the BME newsfeed on your website

It's really easy to embed the BME newsfeed into your website should you choose to -- no XML knowledge or coding of any kind is required. All you have to do is past in the following HTML:

That will place a ten line feed of the latest stories into your HTML wherever you paste the code. It will use whatever fonts and styles you have active at the time. If you'd instead like a shorter five line feed, use the code below:

Alternately, we also have a twenty line version:

To show you exactly what's inserted, here's the output from the five line version:

And remember, you can preface it with any font and layout tags you'd like to so it'll match the look at feel of your site.

How does it work?

All this code does is call a javascript file on my server that contains a series of document.write statements with the latest stories. When the viewer's browser loads your page, it will also load my javascript file and write these lines into the file.

Do you have an XML/RSS feed?

Yes, I do. If you'd rather use the RSS feed, which has the last thirty news stories, you can get it at the following location: http://www.bmezine.com/newsfeed/bmenews.rss

I don't know anything about XML, so if you find bugs in it, please let me know (but don't ask me tech questions about it; I know nothing on the subject)... But I really think for most people's purposes that the javascript implementation is the easiest.

Do you have any country-specific feeds?

The newsfeeds above are international and will contain links to stories from sources all over the world (although most are US based for obvious reasons). However... We do have several specialized feeds available as well. For a Canada-only feed, use the following HTML:

Alternately, for an international feed (no Canadian or US stories), use the following HTML (note that some stories with non-country location details may be accidentally included):

Finally, a USA only feed is here:

What do I owe you in return?

Nothing; this is a free service (and I won't even insert any ads or "created by" lines). That said, if you are willing to, a link back to BME or some small text along the lines of "newsfeed provided by bmezine.com" would be greatly appreciated and will keep you from being reincarnated as a goat.

Are there any downsides?

This will slow down the rendering of your website by a fraction of a second since it has to also retreive data from my server. For 99.99% of users this won't be noticeable, but it will introduce a potential 0.6 second delay for users of two-way satellite systems.


Report a story | Back to News Archive | Main Index