Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8889237
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T22:12:47+00:00 2026-06-14T22:12:47+00:00

I am creating an open source workflow that will tie an OS X application

  • 0

I am creating an open source workflow that will tie an OS X application Devonthink to Zotero in the following manner:

  1. An AppleScript called inside the OS X app devonthink will run a Ruby script via the shell
  2. This Ruby script (which I find much faster, better for these sorts of things than old applescript) will make an API call and download response data in Atom format
    Example Data
  3. The ruby script will then parse the Atom file and extract a subset of this data and output it
  4. The Applescript will capture the output of the Ruby script and interact with devonthink in various ways, synching data.

What I would like to get help for here is the parse the Atom file portion of this workflow.

I know there are some great libraries out there for parsing Atom in Ruby, such as Feedzirra etc. but they require the installation of a Gem. I will be distributing the applescript+ruby combo to users who will likely have little or even absolutely no familiarity with the command line or installing gems etc. I would like to make this as easy as possible for the end user to simply drop my script into their applescript folder and the ruby script along with it without any further action on their part.

Given this: what are your recommendations for the best solution to parse the Atom file in ruby without the need to install any gems or other tasks for the end user of the script (is there parsing code that can be simple included within the body of the script itself for example?).

Some possible solutions I imagine that answers might suggest:

a) use native ruby abilities to parse xml

b) use some methods out there that can be copy/pasted directly into my ruby script

My thanks in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T22:12:48+00:00Added an answer on June 14, 2026 at 10:12 pm

    I’m not much of a ruby guy, but you should be able to take the source files of a library, put them in your .rb file and perhaps with some small changes, use the library from the rest of your source. The clue is finding a library that is small and without too many dependencies.

    Perhaps Simple-RSS will work?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Possible Duplicate: How to open-source an application that uses API keys I'm creating an
I'm creating a starter kit that installs the compiled assemblies from an open-source project
I'm releasing an application I wrote as an open-source project by creating a public
I started creating online open source game as a project in school. It will
I am creating a simple MIDI application in C# with an open source library
I've never written drivers before but I'm starting an open-source project that involves creating
I'm creating an open-source cms and was just wondering that which is the best
Does anybody know of any open source project that deals with creating forms or
I need an Open Source solution & tutorial for creating mobile streaming server that
I am creating a web application on maps, using open source maps. I have

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.