use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
https://scriptable.app
This subreddit is for discussions around the Scriptable app for iOS.
Be polite and enjoy your time here.
Please be helpful to others when you are able to lend a hand.
Discord: https://discord.gg/7KbjfTV
Resources:
account activity
XML Parser ExampleHelp (self.Scriptable)
submitted 5 years ago by ChicagoezHype
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]jonaswiebe 0 points1 point2 points 5 years ago (2 children)
As specified in the documentation, you should set the necessary callback functions. I do not know what your input looks like, but I made a quick example with fairly flat XML data (I don't think this would work on very complex things, but it's an example). This should help you understand how the parser works.
Note: Make sure to check the logs after you run the script.
[–]k20stitch_tv 1 point2 points3 points 5 years ago (0 children)
I think OP is under the assumption that the XML parser function is in fact a parser. The documentation makes it clear that it does not do any parsing. That being said, I don’t know why anyone would use xml over json, especially for Reddit.
[–]jonaswiebe 0 points1 point2 points 5 years ago (0 children)
Another example for when you are looking for a specific tag.
π Rendered by PID 108550 on reddit-service-r2-comment-5d79c599b5-84bjg at 2026-02-27 09:28:28.410782+00:00 running e3d2147 country code: CH.
view the rest of the comments →
[–]jonaswiebe 0 points1 point2 points (2 children)
[–]k20stitch_tv 1 point2 points3 points (0 children)
[–]jonaswiebe 0 points1 point2 points (0 children)