How to parse xml data [closed] - objective-c

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
I am making an iPhone app, which calls an web API, and retrieves XML files. I have XML data that I need to parse, but I only need one element from the whole XML file. There may be multiple xml files loaded at once, but I still only need one element from each file. I am trying to use NSXMLParser to parse the data, but if there are any easier options, I am open to them. Does anyone know any good tutorials about how to do this, or know to explain it? Thanks for the help.

I've used both XMLParser and XPath to parse and each has its costs and benefits. XPath is fantastic if you know for a fact what the DOM path of the target object is. XMLParser allows for more flexibility in terms of iterating through the XML programmatically.
I would recommend both of these links:
NSXMLParser
XPath

Related

RABL vs Json Builder [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
As part of a team, we are building an RoR application completely driven through API's. We already have a web app, its just that we now want to make it completely API driven. We initially kicked off with using RABL Templating Engine for generating the JSON Response. We recently observed that by using JSON Builder as an alternative to RABL, our response times increased by about half a second for an API call in our app that users would hit most often . Before we take a final call on deciding to use JSON Builder for all our API's going forward, I just wanted to know about the pros and cons of using RABL and JSON. Also, it would be nice if one could compare the two templating engines mainly keeping performance in mind wherever feasible.
Sharing any relevant links would also be helpful.
Kindly let me know your experiences with the usage of both these templating engines. Thank you.

Json to XLIFF coversion and XLIFF to Json conversion tools [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
Can someone explain the details on how to translate json files to XLIFF and XLIFF files to json? Are there any tools to do this easily? We are using JMVC frame work and i18n internationalization library in our company to build a web site. We are using json files in our framework, but the translation company needs XLIFF files.
Thanks for your help!
You can use the Okapi tools' JSON filter to extract/merge JSON data into/from XLIFF
See http://www.opentag.com/okapi/wiki/index.php?title=JSON_Filter
and http://www.opentag.com/okapi/wiki/
-ys

Tools for side-by-side localisation of iPhone App [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
I have an App that is translated to four languages. I find that updating and maintaining the strings files extremely tedious.
Is there a way to edit different translations side by side similar to what IntelliJ provides:
(source: jetbrains.com)
I would also be happy with a simply MS-Excel to Strings conversion script, where the Excel would be the master and the .strings files would be generated.
These apps saved me from a world of hurt. There's no guide, so you'd have to figure it out yourself. The apps are free though and very well designed.
http://www.loc-suite.org/
My company use a tool called Localization Helper from Mac App Store. I reckon it's pretty good.
How about Linguan?

API to retrieve info about famous people [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I'm looking for some callable way to get information about famous people and celebrities. Given a string, I'd like to determine if it's the name of a famous person, and if so, if they're alive and perhaps what category they fall into (e.g. Actor, Musician, Athlete).
Does anyone know of any publicly available APIs to do such a thing? The best I can come up with is Wikipedia, but it's pretty problematic because much of the info must be parsed, and isn't in a reliable and predictable format.
I'd also like to be able to offer suggestions for possible names when the initial search turns up nothing (since the strings will be from people and may contain misspellings).
Try DBpedia, the "preparsed" (RDF) version of Wikipedia. It can be queried using SPARQL. It includes much of the info in the English-language Wikipedia.
Try the Wikipedia API:
http://en.wikipedia.org/wiki/Wikipedia:Creating_a_bot#APIs%5Ffor%5Fbots
It appears there's also an API for IMDB:
http://www.deanclatworthy.com/imdb/

A simple project [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 12 years ago.
I want to build a website that is a simple password generator and that has a nice design.
passwordbird is a simple password generator and http://www.atebits.com/ has a design that I really like. What languages should I use for this project? My main goal is to gain experience in building websites; I don't expect for it to be perfect. I just want to learn something new and apply it to an idea that I have.
HTML, CSS and JS. Here's an example JS script on password generation: http://javascript.internet.com/passwords/password-generator.html
Good luck.
Good training would be a basic HTML&CSS site, and a php script to generate a password.
I imagine you would be able to specify things like length and composition of the password right? Throw all that in a form and send it via Ajax to the php script, get the generated password and display it. For the Javascript(Ajax) part, I'd use JQuery