Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > How to integrate XML in HML?

How to integrate XML in HML?
Thread Tools
Forum Regular
Join Date: Jul 2007
Location: Nantes, FRANCE
Status: Offline
Reply With Quote
Aug 15, 2007, 04:28 PM
 
Alright so i'm looking for a way to auto synch my Firefox bookmarks to my iDisk, just like it is preset on Safari.

I found this Firefox extension (FoxMarks) that let's you auto sync your Firefox boomarks to the server of your choice but you can only back them up (cant be browsed unless if you back them up on their server)

Now the back up is an XML file so i was wondering if i put this backup in a public folder and embed it into an HTML file I might be able to browse my bookmarks from another machine.

Sp is there a way for me to do that? And if so, would it need function/features uninstalled on the .Mac servers?
if the server cant handle this, I was wondering if there would be simply some widgets/Javascript to simply paste on the html and that would do the job

Any thought?

thanks
My website
MBP 13" Uni - 4GB RAM
MBP 15" - 4GB RAM
     
Professional Poster
Join Date: Jan 2001
Location: Salt Lake City, UT USA
Status: Offline
Reply With Quote
Aug 19, 2007, 08:24 PM
 
You could embed the XML within your HTML file, but browsers will just interpret the tags as HTML, and since they are likely not HTML tags, they won't get displayed.

Your best bet is to either process the XML file with a server side script or client-side javascript.

The "Official" way would be to use XLST (XML style transformations) which would turn it into HTML. I would recommend the JS route just because there's little need to mess with stuff on .mac.

There's a little about reading XML Here. from there it shouldn't be too hard to have it display in the way you want.
2008 iMac 3.06 Ghz, 2GB Memory, GeForce 8800, 500GB HD, SuperDrive
8gb iPhone on Tmobile
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 09:31 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2