Lifelesspeople.com

 Forum FAQsForum FAQs  KnowledgebaseKnowledgebase  RulesRules   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   HostingHosting   RegisterRegister 
 DonateDonate   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

a way to extract images from XML file?  Share

 
Lifelesspeople.com Forum Index -> Help Wanted
Post new topic   Reply to topic View previous topic :: View next topic  
Author Message
The Grinch
Lifeless Person


Joined: 15 Dec 2004
Posts: 6385
Location: Chuck Norris's nightmares.

PostPosted: Tue Feb 19, 2008 5:41 pm    Post subject: a way to extract images from XML file? Reply with quote

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.MJGZ.com
Back to top
 
ClickFanatic
Est. 2005


Joined: 18 Jan 2005
Posts: 4685
Location: 37°45'18.24"N 14°59'42.9"E

PostPosted: Wed Feb 20, 2008 8:23 am    Post subject: Reply with quote

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.
_________________
If you can read this, my post is on an alternating background.
Back to top
 
Vyx
Where's Waldo?


Joined: 25 Mar 2005
Posts: 1251
Location: Sothern California

PostPosted: Wed Feb 20, 2008 3:36 pm    Post subject: Reply with quote

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: 6385
Location: Chuck Norris's nightmares.

PostPosted: Wed Feb 20, 2008 10:36 pm    Post subject: Reply with quote

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 Very Happy
_________________

http://www.MJGZ.com
Back to top
 
Display posts from previous:   
Post new topic   Reply to topic    Lifelesspeople.com Forum Index -> Help Wanted All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Home | Hosting | News | Forum | Links | System Status | About | Archive | Donate ]
Powered by phpBB © 2001, 2002 phpBB Group
All trademarks and copyrights on this page are owned by their respective owners. Posts and comments are owned by the poster. Everything else © 2001 - 2007 Lifelesspeople.com