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 6237411
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T11:01:33+00:00 2026-05-24T11:01:33+00:00

Problem I’m communicating to a REST API which uses an atom feed as responses.

  • 0

Problem

I’m communicating to a REST API which uses an atom feed as responses.
This means I need to parse this.

Solution

I want the solution to be as clean as possible.
Speed is a plus/low memory consumption is a plus but not really high priority.

Using a SAX parser

It’d be relativity easily to parse this myself, however it will probably break if I don’t follow the Atom spec to the letter.

I will probably create something that will be hard to maintain on it’s own and I’d rather avoid this.

Using a third party library

There seems to be quite a few out there that is written in java, some seems to maybe work in android but a lot of them are heavy and require lots of dependencies.


So, what’s your take on this, any suggestions?

  • 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-05-24T11:01:34+00:00Added an answer on May 24, 2026 at 11:01 am

    It is not too difficult to use SAX to parse a subset of the Atom spec. You can ignore the elements that you are not interested in and process the important elements in a spec compliant manner.

    The problem I have found with the 3rd party libraries is that they can be very very slow on Android, for the Atom I was parsing Rome was about 20x slower than my SAX parser.

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

Sidebar

Related Questions

Problem I have timestamped data, which I need to search based on the timestamp
PROBLEM: I have a Child class which uses DataContractSerialization and raises a Changed event
Problem: I need to write a function which returns a value for a input
Problem: I have an address field from an Access database which has been converted
Problem: Given a list of strings, find the substring which, if subtracted from the
Problem: I need an array (datamember) in a parent class A. However, depending on
Problem Description: We have a service which has applications for main mobile OS’s. We
PROBLEM: Here's the code: import matplotlib.pyplot as plt plt.bar([1,2],[5,4]) plt.title('this is a very long
Problem : Need onclick event to pause/unpause a Youtube video, but impossible to add
Problem: Visitors open the url website.com/?i=133r534|213213|12312312 but this url isn't valid anymore and they

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.