atom-feed

Generate a Google Calendar compatible feed

强颜欢笑 提交于 2019-12-23 05:11:24
问题 I'm trying to build a Google Calendar compatible feed (atom), that users can subscribe to and use to receive updates, but everything I've read so far involves communicating with Google using the GData APIs. I just want to provide a feed url that can be added to Google Calendar if the user chooses to do so. When I tried adding the <gd:where> and <gd:who> elements to a 'normal' atom feed, it broke in my feed reader. Am I going about this the wrong way? Is there some other way to do this? 回答1: I

Access to Gmail Atom feed with OAuth2 from Android app stopped working

偶尔善良 提交于 2019-12-22 18:34:33
问题 I have an Android app, which could access the Gmail Atom inbox feed for read-only access to unread emails (that's all I need). And, it recently stopped working. It is using OAuth2 and GoogleAuthUtil . This how it works, with use of AsyncTask in a Service: First, get a token: String scope = "oauth2:https://mail.google.com/mail/feed/atom/"; token = GoogleAuthUtil.getToken(context, accountName ,scope ); Then use it to read the feed: HttpURLConnection connection = (HttpURLConnection) new URL

Correct/Accepted Way to Update an ATOM Entry

允我心安 提交于 2019-12-22 04:12:31
问题 What's to "correct" way to indicate an entry in an ATOM feed is updated? By "correct" I mean fits into existing specifications and something feed readers will notice and mark as new/unread. All the specifications I've found say there's support for an updated node. However, when I try something like this <entry> <title>Ipv4 For Sale</title> <link href="http://tech.slashdot.org/story/12/05/24/1526258/sales-of-unused-ipv4-addresses-gaining-steam"/> <id>urn:uuid:0fd0a227-1be0-bce4-9f53

Is the atom:id element unique per physical feed, or logical feed?

谁说我不能喝 提交于 2019-12-21 06:07:51
问题 We're breaking a logical feed up over several physical feeds using the "next-archive" and "prev-archive" link relations to tie everything together. Should each individual feed have its own id, or should the id be constant across the whole series of physical feeds? The Atom specification says: 4.2.6. The "atom:id" Element The "atom:id" element conveys a permanent, universally unique identifier for an entry or feed. 回答1: The ID for an entry should be the same across the different feeds it

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

六月ゝ 毕业季﹏ 提交于 2019-12-20 09:55:47
问题 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

date formatting from response

99封情书 提交于 2019-12-20 05:44:04
问题 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. 回答1: The following: public static void main(String[] args) { String

Atom:link in RSS using Rome

无人久伴 提交于 2019-12-19 09:46:58
问题 It is recommended to add to RSS 2.0. I am wondering if there is any Rome module available to add this tag? Like what they developed for content, media, etc. 回答1: The blog post Adding Atom links to an RSS feed generated by ROME answers exactly that question: there is no build-in immediate support for Atom elements inside an RSS feed ... I’ve implemented an AtomContent class that holds a list of com.sun.syndication.feed.atom.Link but is easy extensible. The code is published as https://github

ActionView::Template::Error (wrong number of arguments (1 for 0)) with atom_feed after upgrading to rails 3.1.0

跟風遠走 提交于 2019-12-19 07:52:37
问题 I've just upgrade my rails application from the 3.0.7 version to the release candidate 3.1.0 and I got a strange error located in my atom feed builder: ActionView::Template::Error (wrong number of arguments (1 for 0)): 1: atom_feed do |feed| 2: feed.title("site name") 3: 4: for post in @posts app/views/posts/index.atom.builder:1:in `_app_views_posts_index_atom_builder___1517323884_2197638100' It seems to need an argument in the atom_feed method, but I tried to put something in it and it hasn

Reading Atom feed of gmail account from C#

余生长醉 提交于 2019-12-18 11:57:40
问题 I have a project that will send an email with certain data to a gmail account. I think that it will probably be easier to read the Atom feed rather than connect through POP. The url that I should be using according to Google is: https://gmail.google.com/gmail/feed/atom The question/problem is: how do I authenticate the email account I want to see? If I do it in Firefox, it uses the cookies. I'm also uncertain how exactly to "download" the XML file that this request should return (I believe

The best PHP lib/class to generate RSS/Atom [closed]

天涯浪子 提交于 2019-12-17 22:32:16
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 8 years ago . I have to produce an RSS/Atom feed in various applications, and I want to know a good library or class which is able to produce both,