atom-feed

How do you generate a good ID in ATOM documents?

∥☆過路亽.° 提交于 2019-12-03 09:44:43
Apparently using the URL is no good - why is this the case, and how do you generate a good one? Mark Pilgrim's article How to make a good ID in Atom is good. Here's part of it: Why you shouldn’t use your permalink as an Atom ID It’s valid to use your permalink URL as your <id>, but I discourage it because it can create confusion about which element should be treated as the permalink. Developers who don’t read specs will look at your Atom feed, and they see two identical pieces of information, and they pick one and use it as the permalink, and some of them will pick incorrectly. Then they go to

How to publish a dynamic event feed for google calendar?

匆匆过客 提交于 2019-12-03 09:41:16
问题 I'm building a webapp that manages certain types of events for users. I want to provide a way to display those events inside of a user's google calendar. What I was really hoping for was a way to publish my own google calendar compatible feed and allow users to subscribe to it, like they can subscribe to "interesting calendars". So that if events change or new events are added, they are reflected in their calendar. But it looks like google only lets users import calendar data in ical or csv

How RSS and ATOM inform client about updates? long polling or polling or something else?

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-03 08:57:16
I read that RSS and ATOM are HTTP-based using XML format. So how an RSS or Atom reader get informed about content updates if HTTP doesn't support connections? Do they need to poll the server periodically? I'm interested in using it in a real time web application but I heard that "polling doesn't scale". Julien Genestoux This is pretty similar to this question . Please read my answer there. There is no currently long polling for RSS feeds. The technology you're looking for is PubSubHubbub : it will allow the feed publisher to push you the content when it's available. Dave Winer There are two

Automatically Extracting feed links (atom, rss,etc) from webpages [closed]

≯℡__Kan透↙ 提交于 2019-12-03 03:50:37
Closed. This question is off-topic. It is not currently accepting answers. Learn more . Want to improve this question? Update the question so it's on-topic for Stack Overflow. I have a huge list of URLs and my task is to feed them to a python script which should spit out the feed urls if there are any. Is there an API library or code out there that can help? I second waffle paradox in recommending Beautiful Soup for parsing the HTML and then getting the <link rel="alternate"> tags, where the feeds are referenced. The code I usually use: from BeautifulSoup import BeautifulSoup as parser def

Why Are People Still Creating RSS Feeds?

妖精的绣舞 提交于 2019-12-03 01:39:38
问题 ...instead of using the Atom syndication format? Atom is a well-defined, general-purpose XML syndication format. RSS is fractured into four different versions. All the major feed readers have supported Atom for as long as I can remember, so why isn't its use more prevalent? Worst of all are sites that provide feeds in both formats - what's the point?! UPDATE (18 August): Interestingly, this site itself is using Atom for its feeds rather than RSS. 回答1: The fundamental thing that the Atom

How to publish a dynamic event feed for google calendar?

安稳与你 提交于 2019-12-03 01:13:49
I'm building a webapp that manages certain types of events for users. I want to provide a way to display those events inside of a user's google calendar. What I was really hoping for was a way to publish my own google calendar compatible feed and allow users to subscribe to it, like they can subscribe to "interesting calendars". So that if events change or new events are added, they are reflected in their calendar. But it looks like google only lets users import calendar data in ical or csv formats, not in atom feed format. The problem is, existing events in my webapp can change and new events

Update Private Gallery atom such that VS shows that an extension update is available

谁说我不能喝 提交于 2019-12-02 21:58:25
I'm using a Visual Studio Private Gallery to publish a VSIX internal to my company. My VSIX shows up in the "Online" section of "Extensions and Updates" in Visual Studio 2012 and I can install it from there: However, once it's installed, I can't figure out how to update my extension in a way that makes it show up in the "Updates" section of that same dialog box, nor can I figure out how to make Visual Studio notify me that an update is available. I've tried various combinations of the following: Increasing the version number in the VSIX itself and in the atom.xml Changing the updated tag

Why Are People Still Creating RSS Feeds?

試著忘記壹切 提交于 2019-12-02 15:08:52
...instead of using the Atom syndication format? Atom is a well-defined , general-purpose XML syndication format. RSS is fractured into four different versions. All the major feed readers have supported Atom for as long as I can remember, so why isn't its use more prevalent? Worst of all are sites that provide feeds in both formats - what's the point?! UPDATE (18 August): Interestingly, this site itself is using Atom for its feeds rather than RSS. The fundamental thing that the Atom creators didn't understand (and that the Atom supporters still don't understand), is that Atom isn't somehow

How to deserialize object from OData Atom feed?

你离开我真会死。 提交于 2019-12-02 10:48:24
问题 I am trying to parse response from an OData REST service. When response is in JSON format, it is easy to use ReadAsJsonDataContract method from WCF REST starter kit. However things seem to be more complicated in case the response is an Atom feed. This is an example: <?xml version="1.0" encoding="iso-8859-1" standalone="yes"?> <entry xml:base="http://localhost:64172/BookshopService.svc/" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado

date formatting from response

你。 提交于 2019-12-02 10:19:23
Calling a OData service and getting the ATOM XML response of a date column gives me date value as <d:BUSINESS_DATE m:type="Edm.DateTime">2012-08-02T00:00:00.0000000</d:BUSINESS_DATE> But. currently I have a date value like "Thu Aug 02 2012 02:00:00 GMT+0200 (Mitteleuropäische Sommerzeit)" . I would want to conver this value to Edm.DateTIme format as shown above. Any functions to achieve the same. Any workaroud. Please help. The following: public static void main(String[] args) { String fromDate = "Thu Aug 02 2012 02:00:00 GMT+0200 (Mitteleuropäische Sommerzeit)"; String fromDateConverted =