This site makes extensive use of JavaScript.
Please
enable JavaScript
in your browser.
Live
PTR
Beta
Classic
News Feed
We've created a
News Feed
box which enables you to embed the latest headlines from
Wowhead News
on your website!
If you'd like to keep your guild, or your readers, up to date on the latest WoW (and Wowhead) news and updates, all you have to do is:
In the header of your page, include our news feed script:
<script type="text/javascript" src="
http://wow.zamimg.com/widgets/newsfeed.js"></script>
Then, wherever you want our news to appear, insert the following code:
<script type="text/javascript">
$WowheadNewsFeed.fetch();
</script>
If everything went well, the following should appear:
$WowheadNewsFeed.fetch(function(contents) {
$('#newsexample').html(contents);
});
Related
If you can't let it just print in place, you can give the fetch function a callback to call with the HTML for the box. Your call would then look like this:
$WowheadNewsFeed.fetch(function(contents) {
$('#newsexample').html(contents);
});
© 2021 Fanbyte