Solved

ASP.NET reading ATOM

Posted on 2016-11-27
2
98 Views
Last Modified: 2016-11-28
I have a project that will utilize ATOM for a web service. I notice ATOM is simply XML with a value that uses JSON. I can read both. I was thinking of reading the XML, then when I get to the JSON, read it using the JSON reader. However, I do notice there is a Nu Get package for ASP.NET and ATOM. But I can't tell if it is something worth the effort to try and install.

Anyone with experience actually using ATOM who would recommend a library? Or just roll my own as I indicated above?

thanks!
0
Comment
Question by:Starr Duskk
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 35

Accepted Solution

by:
ste5an earned 500 total points
ID: 41904004
So you want to consume a news feed?

I notice ATOM is simply XML [..]
Correct.

[..] with a value that uses JSON.
I'm not aware of that.

I was thinking of reading the XML, then when I get to the JSON, read it using the JSON reader.
Can you post a sample?

Imho you don't need a package for parsing ATOM. Cause parsing XML is straight forward and ATOM is pretty simple. On the otherhand, when you need the entire information of an Atom feed in an object graph, then such a packet may make sense.
So it depends on your use-case.

Can you clarify where JSON is part of your problem?
0
 
LVL 2

Author Comment

by:Starr Duskk
ID: 41904948
It could be that this particular API happens to be sending json name value pairs as one of their strings. I hadn't worked with ATOM before, so thought maybe that was standard practice for ATOM, but it's probably just this one client. So I'll just run the json through my normal converter for that string.

And no, this has nothing to do with a news feed, although ATOM examples show that it can be used for that.
thanks!
0

Featured Post

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
Create a Windows 10 custom Image with custom task bar and custom start menu using XML for deployment.
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…

621 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question