forked from Gingah/Quick-XML-to-JSON
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added README, core files and example file.
- Loading branch information
Gingah
committed
Mar 10, 2011
0 parents
commit 9a9a555
Showing
4 changed files
with
15,103 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
@package XML2JSON | ||
@package_version 1.0 | ||
@file_version 1.0 | ||
@author Gingah | ||
@copyright Copyright (c) 2010 - 2011, Gingah | ||
@link https://github.com/Gingah/Quick-XML-to-JSON | ||
@license http://creativecommons.org/licenses/by-nc-sa/3.0/no/deed.en | ||
|
||
Quick XML to JSON (abbreviated XML2JSON) is a PHP-file for creating a JSON file | ||
from a XML file. It uses Simplepie to read the XML/RSS data. | ||
|
||
Installation: | ||
1. Copy all the files (file.xml, xml2json.php and simplepie.inc) to a directory | ||
on your webserver that supports PHP. | ||
2. Run xml2json.php (open it in your browser). | ||
3. A file called file.xml.js will now be located in the same directory, it | ||
contains the JSON version of the XML you input. | ||
4. Customize the functionality of xml2json.php as you see fit. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<rss version="2.0" xmlns:media="http://search.yahoo.com/mrss/"> | ||
<channel> | ||
<title>MangerCD</title> | ||
<description>MangerFHS 09/10</description> | ||
<item> | ||
<title>A Fraction of Warfare</title> | ||
<link>cd_a-fraction-of-warfare</link> | ||
<description>Mats Kaarboe</description> | ||
<pubDate>Mandag, 17. mai 2010 19:08:00 GMT+1</pubDate> | ||
<media:content url="mp3/01_A_Fraction_of_Warfare.mp3" duration="144" /> | ||
<media:thumbnail url="mp3/01_A_Fraction_of_Warfare.png" width="512" height="288" /> | ||
</item> | ||
<item> | ||
<title>Kingdom of Misery</title> | ||
<link>cd_kingdom-of-misery</link> | ||
<description>Excalibur</description> | ||
<pubDate>Mandag, 17. mai 2010 19:08:00 GMT+1</pubDate> | ||
<media:content url="mp3/02_Kingdom_of_Misery.mp3" duration="284" /> | ||
<media:thumbnail url="mp3/02_Kingdom_of_Misery.png" width="512" height="288" /> | ||
</item> | ||
</channel> | ||
</rss> |
Oops, something went wrong.