| Author |
Message |
The Grinch Lifeless Person

Joined: 15 Dec 2004 Posts: 6208 Location: Chuck Norris's nightmares.
|
Posted: Tue Feb 19, 2008 5:41 pm Post subject: a way to extract images from XML file? |
|
|
I am trying to import a skin to my ipb forums, but the servers here do not allow enough memory to be used and i keep getting the "memory exhausted" error.
Since IPB extracts and imports all the skin and images file XML format, its hard to extract the images manually to upload via ftp. But im sure that there has to be a way to do this.
Does anyone know or have any ideas on how to extract anything from the XML files?
thanks. _________________ http://www.damnidunno.com | http://www.snapcite.com |
|
| Back to top |
|
| |
ClickFanatic Est. 2005

Joined: 18 Jan 2005 Posts: 4135 Location: A particular geographic area
|
Posted: Wed Feb 20, 2008 8:23 am Post subject: |
|
|
XML data is fairly easy to read for human-beings. If you can find out where in the XML structure the images are, it should be fairly easy to write a script that extracts this image data and dumps it into the corresponding files.
I am not sure whether such a tool already exists for IPB. _________________ Captain Jell-O Buster from the Future
[img]http://feeds.feedburner.com/sparepencil.1.gif[/img] |
|
| Back to top |
|
| |
Vyx Where's Waldo?

Joined: 25 Mar 2005 Posts: 1251 Location: Sothern California
|
Posted: Wed Feb 20, 2008 3:36 pm Post subject: |
|
|
Why not just download the IPB skin and upload it manually instead of using the wizard? Seems like a much simpler (and faster) approach, unless you plan on doing this often, in which case the time making the script would be well spent. _________________ Why is it that more time you use, the less time you get?
Get FireFox :: [ L2P@last.fm : L2P@Last.fm Wiki Entry ] :: Mindglob.com |
|
| Back to top |
|
| |
The Grinch Lifeless Person

Joined: 15 Dec 2004 Posts: 6208 Location: Chuck Norris's nightmares.
|
Posted: Wed Feb 20, 2008 10:36 pm Post subject: |
|
|
| Vyx wrote: | | Why not just download the IPB skin and upload it manually instead of using the wizard? Seems like a much simpler (and faster) approach, unless you plan on doing this often, in which case the time making the script would be well spent. |
Uploading the file isnt the problem. It's the system dealing with the file that becomes the problem. Such as extracting the image files and putting them on the server and such.
luckily the original creator of the skin was nice enough to zip all the image files and send them to me :d so i just uploaded them directly to the server.
thanks for replying  _________________ http://www.damnidunno.com | http://www.snapcite.com |
|
| Back to top |
|
| |
|
|
|