Slim Down for Summer with That's Fit
Posts with tag php

How to put WoW Insider on your PHP enabled website

In an ongoing series of articles we'll show you how to put WoW Insider on your own blog, guild website, personal website, or even on your computer's desktop. For a complete list of the software that's covered, check out our guide's index.

About PHP and RSS


PHP is a very fun programming language. Just like World of Warcraft, it is easy to learn, and difficult to master. The idea behind PHP is that you enter a script, located within your webpage, and the server processes the script as it send the webpage to your visitor's web browser. PHP and things like it literally power the web – everything from WoW Insider, to Google, to Amazon. For more information on PHP, I highly recommend O'Reilly's book Learning PHP.

How to get syndicate WoW Insider using Magpie RSS

The easiest RSS syndication addon for PHP I've found is Magpie RSS. It's quite simple to use, and can easily integrate itself into existing page architecture. A sample Magpie script that would syndicate WoW Insider would look like this:

require_once 'rss_fetch.inc';

$url = ' http://www.wowinsider.com/rss.xml;
$rss = fetch_rss($url);

echo "Site: ", $rss->channel['title'], "<br>";

foreach ($rss->items as $item ) {
$title = $item[title];
$url = $item[link];
echo "<a href=$url>$title</a></li><br>";
}


Of course, the above is just a rough template and doesn't include any formatting or bulleting or anything like that. Where other sites and tools listed above will provide you with lots of bells and whistles off the bat, PHP is bare bones – you have to make everything from scratch. Luckily there's a lot of great information out there and most of the work has already been done. However, that work is beyond the scope of this guide.


RESOURCES

Blizzard Events
BlizzCon (195)
Worldwide Invitational (112)
Class Columns
(Druid) Shifting Perspectives (48)
(Hunter) Big Red Kitty (39)
(Hunter) Scattered Shots (23)
(Mage) Arcane Brilliance (45)
(Paladin) The Light and How to Swing It (53)
(Priest) Spiritual Guidance (28)
(Rogue) Encrypted Text (34)
(Shaman) Totem Talk (54)
(Warlock) Blood Pact (32)
(Warrior) The Care and Feeding of Warriors (57)
Gameplay
(Arena PvP) Blood Sport (28)
(BG PvP) The Art of War(craft) (27)
(Casual) WoW, Casually (21)
(Guild Leadership) Officers' Quarters (65)
(Professions) Insider Trader (65)
(Raid Healing) Raid Rx (20)
(Raiding) Raiding 101 (2)
(Raiding) Ready Check (31)
(Roleplaying) All the World's a Stage (46)
Hybrid Theory (21)
New Players' Guide (4)
Tank Talk (7)
AddOns and UI
AddOn Spotlight (92)
Macro Anatomy (14)
Reader UI of the Week (28)
Reader WoWspace of the week (31)
The Creamy GUI Center (15)
Lore and Stories
Around Azeroth (541)
Ask A Lore Nerd (11)
Barrens Chat (12)
Know your Lore (60)
Tales from the Lion's Pride Inn (14)
WoW Moviewatch (534)
Features
15 Minutes of Fame (28)
About the Bloggers (29)
Ask WoW Insider (64)
Azeroth Security Advisor (4)
Breakfast topics (744)
Build Shop (35)
Forum Post of the Day (36)
Gamers on the Street (25)
Guildwatch (83)
He Said She Said (5)
Illusionary Tactics (3)
It came from the Blog (29)
Phat Loot Phriday (94)
The Colosseum (1)
Two Bosses Enter (61)
Well Fed Buff (28)
World of WarCrafts (28)
WoW Crossword (3)
WoW Insider Show (73)
WoW Rookie (42)
[1.Local] (15)
Classes
Death Knight (124)
Druid (330)
Hunter (308)
Mage (189)
Paladin (326)
Priest (263)
Rogue (190)
Shaman (299)
Warlock (205)
Warrior (231)
News
Account Security (31)
AddOns (264)
Analysis / Opinion (3335)
Blizzard (1726)
Bugs (223)
Burning Crusade (383)
Contests (238)
Economy (199)
Events (480)
Expansions (686)
Fan stuff (953)
Features (690)
Forums (306)
Guilds (512)
Hardware (47)
Humor (828)
Interviews (173)
Lore (328)
Mounts (149)
News items (1665)
NPCs (222)
Odds and ends (1756)
Patches (1182)
Podcasting (81)
Ranking (56)
Realm News (307)
Realm Status (252)
RP (179)
Rumors (71)
Virtual selves (704)
WoW Insider Business (313)
WoW Social Conventions (160)
WoW TCG (59)
Wrath of the Lich King (535)
Strategy
Achievements (11)
Alts (125)
Arena (279)
Battlegrounds (168)
Bosses (373)
Buffs (136)
Cheats (75)
Classes (346)
Enchants (37)
Factions (173)
Guides (418)
How-tos (430)
Instances (706)
Items (912)
Leveling (317)
Making money (198)
PvP (804)
Quests (386)
Raiding (798)
Talents (172)
Tips (603)
Tricks (236)
Walkthroughs (93)
Media
Comics (89)
Fan art (52)
Galleries (217)
Machinima (620)
Podcasts (54)
Polls (71)
Screenshots (693)
Races
Alliance (125)
Draenei (67)
Dwarves (22)
Gnomes (48)
Human (22)
Night Elves (55)
Horde (126)
Blood Elves (73)
Orcs (32)
Tauren (54)
Trolls (28)
Undead (28)
Professions
Alchemy (85)
Blacksmithing (64)
Cooking (78)
Enchanting (84)
Engineering (114)
First Aid (19)
Fishing (63)
Herbalism (53)
Inscription (20)
Jewelcrafting (90)
Leatherworking (67)
Mining (52)
Skinning (33)
Tailoring (74)
Retired
Pimp My Profile (1)
(Engineering) Hoof and Horn Research and Development (17)
Azeroth Interrupted (24)
Back In The Day (3)
World Wide WoW (8)
/silly (14)

RSS NEWSFEEDS

Powered by Blogsmith

    Featured Galleries

    Achievements UI
    World of WarCrafts: Cataclysm's Edge
    Valeera Sanguinar
    New Grim Guzzler content in patch 2.4.3
    Stormwind Docks
    World of WarCrafts: Conjured Picture Frame
    World of WarCrafts: Banner of brutality
    Scarlet Crusade Tabard T-shirt
    Reader UI of the Week 6/29/08

     

    Most Commented On (30 days)

    Recent Comments

    Other Weblogs Inc. Network blogs you might be interested in: