Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us
topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • December 05, 2016, 09:06:20 PM
  • Proudly celebrating 10 years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: What is the purpose of file extensions...  (Read 1544 times)

wraith808

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 8,405
  • "In my dreams, I always do it right."
    • View Profile
    • Donate to Member
What is the purpose of file extensions...
« on: March 12, 2011, 10:26:46 AM »
...if you're going to coopt them for no reason?

I recently was snagged into playing Evony, and I was thinking about making a utility to store a history of battle reports and a viewer to go along with it.

An example battle report URL is http://battlena29.ev...986a18ed79234f2d.xml

It looks nicely formatted when you go to it, so I though they were using xslt or perhaps a viewer that encapsulated the xml...

...but the xml file isn't xml at all!  I understand to a certain extent the need to obfuscate so that you can keep your methods private, but this is ridiculous!

Renegade

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 13,220
  • Tell me something you don't know...
    • View Profile
    • Renegade Minds
    • Donate to Member
Re: What is the purpose of file extensions...
« Reply #1 on: March 12, 2011, 10:51:13 AM »
It's an HTML file that accepts XML as input. Probably processed by PHP. Makes sense though.

The query string returns pure XML:

http://battlena29.ev...986a18ed79234f2d.xml

Slow Down Music - Where I commit thought crimes...

Freedom is the right to be wrong, not the right to do wrong. - John Diefenbaker

wraith808

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 8,405
  • "In my dreams, I always do it right."
    • View Profile
    • Donate to Member
Re: What is the purpose of file extensions...
« Reply #2 on: March 12, 2011, 11:00:44 AM »
I tried to just get the query string, and I just got the same HTML file.  How did you get it?

(Oh, and it seems to be that it's a flex application)

EDIT: Nevermind.  I'm slow this morning.  I didn't realize that it was a query string at the end of the URL.  :-[

Thanks!