pukapuka Posted December 25, 2011 Share Posted December 25, 2011 ok so i want to find the phots album id like this: /export/xml/photos?userName=uchylaci|77f322df&albumDir=Kata_narozky iknow everything but i dont know how to find the key: "77f322df" without it i cant find my photos every album got diffrent key so what i need to do to find it plz your help thxxxx Link to comment Share on other sites More sharing options...
boen_robot Posted December 25, 2011 Share Posted December 25, 2011 What's the XML file look like and where does it reside relative to the URL above? What language are you using to process the XML? Is there a reason the "key" is not in a separate query string variable, but contenated within the userName variable instead? Link to comment Share on other sites More sharing options...
pukapuka Posted December 26, 2011 Author Share Posted December 26, 2011 thats whay i wish you to help me man im not understand much i just know its like this: http://www.rajce.idnes.cz/export/xml/photos?userName=uchylaci|77f322df&albumDir=Kata_narozky or even if thers a way to get to album without the id cause its locked Link to comment Share on other sites More sharing options...
pukapuka Posted December 26, 2011 Author Share Posted December 26, 2011 my friend: even if i will get one pic from the protect album i always can make fusker oh this is the original link: www.uchylaci.rajce.idnes.cz Link to comment Share on other sites More sharing options...
boen_robot Posted December 26, 2011 Share Posted December 26, 2011 Oh... that... ask the creators of the application. Only they can know how to appropriately query their application. Link to comment Share on other sites More sharing options...
pukapuka Posted December 27, 2011 Author Share Posted December 27, 2011 look someone give me this: var string = '/export/xml/photos?userName=uchylaci|77f322df&albumDir=Kata_narozky';var id = string.match(/(userName=\w+\|)(\w+)/);alert(id[2]); how do i use it ?how do i open it? plz your help what does it mean can i translate it to link for explorer? plz your help Link to comment Share on other sites More sharing options...
boen_robot Posted January 1, 2012 Share Posted January 1, 2012 What exactly is the bigger picture here? What are you trying to do with this album? What do you have ready currently? What is the end goal?The code you were given is a JavaScript code, and probably assumes you're the owner of www.rajce.idnes.cz... as I understood, this is not the case, so to avoid confusing you further, you'll have to answer the questions above. Both those in this post, plus my original question of "What language are you using to process the XML?". Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.