Trending Games | World of Warcraft | ArcheAge | Guild Wars 2 | Final Fantasy XIV

    Facebook Twitter YouTube Twitch.tv YouTube.Gaming Discord
Register
Quick Game Jump
Members:3,884,949 Users Online:0
Games:804 

Show Blog

Link to this blogs RSS feed

IfThen Software

Development log for IfThen Software. IfThen Software is a family owned and operated indie game development company. http://www.ifthensoftware.net/

Author: InvisibleLf

Newsletter #59 - New ITS Homepage

Posted by InvisibleLf Friday January 15 2010 at 11:03PM
Login or Register to rate this blog post!


News

The IfThen Software LLC homepage has been given a facelift. Head on over to http://www.ifthensoftware.net and check out the new site.


From the Programmer
Written by Invisible

With the bulk of my coding duties finished, I have been able to spend the last week relaxing. Unfortunately, this means that my article in this newsletter issue will be lacking in content. What programming I have done, I can't discuss since it relates to features in "Loradon 3.0" that we haven't announced yet. I will say one thing though; working on a website rather than computer software has been fun. I hope you all like the new ITS homepage. If you have any thoughts, please leave a comment.


Artist's Easel
Written by GreyKnight

iScribble Sketches #17

(Click to enlarge)


Community Spotlight
Written by Jay

With the "Loradon 3.0" Preview being so close to completion, several players from ITS's older game Loradon Online have come back to the forums to express their long-held excitement for the game. A topic named "Duuuudes! 97%!" was created by Vayne, a "legend" of Loradon Online, in order to show just how close we are to this grand new game's release.

Newsletter #58 - Cross-Site AJAX

Posted by InvisibleLf Friday January 8 2010 at 7:09PM
Login or Register to rate this blog post!


News

Overall progress for the Loradon 3.0 Preview has reached 98%!
www.ifthensoftware.net/loradon_online/progress/


From the Programmer
Written by Invisible

I spent most of the past week brushing up on my HTML/CSS/javascript knowledge since we are working on a new site for IfThen Software. The site will use our Facebook page and my Twitter account as news sources, rather than have its own. However, while the widget provided by Twitter can be customized, the Facebook widget is fairly static. After testing the site, we decided that the widgets made it look ugly, so I started researching ways to get the Twitter and Facebook status without using their widgets.

Twitter provides an easy way to do this; visiting the address http://twitter.com/statuses/user_timeline/<name>.xml returns an xml document which includes all of the information for each status update (up to a max). Using XMLHttpRequest (a core part of AJAX) I can visit that site and parse the xml that it returns, displaying it in whatever format we need it in.

After unsuccessfully trying to find a similar link for Facebook, I started looking into alternatives such as parsing the Facebook page itself for the status. Doing so would not have been pretty. Luckily for me, johnhattan of #gamedev on AfterNet pointed out that the page has an RSS feed which I could use just as easily as the Twitter link.

Thus armed, I started work on the actual code to download and parse the xml returned by those two links. XMLHttpRequest makes this a very simple task; you just tell it where the page is, then wait for it to return the result. However, no matter what I tried, it kept returning a status code of 0 (200 means success, 0 means it didn't even get to the point where it could return a failure code). After looking around the internet for a solution, I finally found the cause; apparently the browser does not allow you to access a remote site using XMLHttpRequest. With this information in mind, I created a simple php script which accesses the Twitter/Facebook XML document and returns it. As far as the browser is concerned, it is connecting to the same website.


Artist's Easel
Written by GreyKnight

iScribble Sketches #16

(Click to enlarge)

(Click to enlarge)


Community Spotlight
Written by Jay

Just a week ago RageMan1990 decided to quit SAO and give his account information to the public. This came as quite a shock to the community because of his high level and seemingly great interest in the game. RageMan1990 will be missed by some, and disregarded by others.

Last week, InvisibleMan released information that a new ITS website is in the making. Many players and loyal fans had many questions about what the new site would look like, but to no avail; they were told to wait until it's released. We will do just that; and we look forward to the amazing new look.