Rehm
Forum Replies Created
-
I’ve posted it here: href=”http://code.google.com/p/nextgen-gallery/issues/list?thanks=412&ts=1314536678
It’s posted as a defect, but it’s meant to be an enhancement, didn’t know how to change that.
ID: 412
Title: Formatted XML for Nextgen Galleries by Album IDHi Alex,
I now have the PHP script that creates the XML I needed, however it is only able to sort by ID and I would like to use the “sortorder” so that galleries can be rearanged and the XML be updated accordingly.
I think this will be a very useful addition to the Nextgen Gallery once this piece of functionality is added. Would you be willing to assist if I provide the script so far? Then we can share it with everyone.
Will the json.php allow me to retrieve gallery data by album ID?
I tried hitting the script in my browser like so: xml/json.php?aid=1 but this obviously is not the way. How exactly do I get post data from json.php? Can I pass it a parameter of some kind?
By the way, I have no experience with json, I hear it’s faster than xml since the structure holds less repetative data and only the required values, but that’s it.
Thanks, I don’t know how you respond to all these questions, you must have cloned yourself…
Hi Alex,
Thanks for responding, I had almost given up, my previous post had more details. http://wordpress.org/support/topic/nextgen-gallery-xml-output?replies=3
The idea is to have formatted XML generated for the Nextgen gallery that looks like this:
I want to be able to go ‘xml.php?aid=0’ and have it return XML for the galleries in the specified album.
[Code moderated as per the Forum Rules. Please use the pastebin]