emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* exporting atom/rss feeds; org-feed-alist not downloading anything from www.rememberthemilk.com
@ 2011-01-29  0:06 David LeBauer
  2011-01-29  8:10 ` David Maus
  0 siblings, 1 reply; 7+ messages in thread
From: David LeBauer @ 2011-01-29  0:06 UTC (permalink / raw)
  To: emacs-orgmode

I would like to export my rememberthemilk.org tasks to org-mode.

I have the following in my .emacs, following the recommendation here:

http://stackoverflow.com/q/2138947/199217

;; sync org-mode with rememberthemilk
;; (require org-feed)
(setq org-feed-alist
      '(("Remember The Milk"
         "http://www.rememberthemilk.com/rss/dlebauer/"
         "~/org/rtm.org"
         "Remember The Milk"
         :template "* TODO %title\n  %a\n "
         )))

However, when I use C-x C-c g, I get the message:

   no new entries from 1 feed.

And none of the information is synced

if I enter the feed into my browser, I can see the html/rss markup
with my tasks embedded, but none of it is imported to my rtm.org file
except for the feed name.

Am I doing something wrong? I would be satisfied if I could just
convert the raw .html to .org

Also, is there any .emacs elisp that I could use to avoid having to
enter my password each time?

Thank you.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: exporting atom/rss feeds; org-feed-alist not downloading anything from www.rememberthemilk.com
  2011-01-29  0:06 exporting atom/rss feeds; org-feed-alist not downloading anything from www.rememberthemilk.com David LeBauer
@ 2011-01-29  8:10 ` David Maus
  2011-01-29 20:38   ` David LeBauer
  0 siblings, 1 reply; 7+ messages in thread
From: David Maus @ 2011-01-29  8:10 UTC (permalink / raw)
  To: David LeBauer; +Cc: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 1089 bytes --]

At Fri, 28 Jan 2011 18:06:07 -0600,
David LeBauer wrote:
>
> I would like to export my rememberthemilk.org tasks to org-mode.
>
> I have the following in my .emacs, following the recommendation here:
>
> http://stackoverflow.com/q/2138947/199217
>
> ;; sync org-mode with rememberthemilk
> ;; (require org-feed)
> (setq org-feed-alist
>       '(("Remember The Milk"
>          "http://www.rememberthemilk.com/rss/dlebauer/"
>          "~/org/rtm.org"
>          "Remember The Milk"
>          :template "* TODO %title\n  %a\n "
>          )))
>
> However, when I use C-x C-c g, I get the message:
>
>    no new entries from 1 feed.
>
> And none of the information is synced
>
> if I enter the feed into my browser, I can see the html/rss markup
> with my tasks embedded, but none of it is imported to my rtm.org file
> except for the feed name.

Could you post an example of a RTM RSS feed? This would allow to check
why Org's RSS parser fails to recognize any entries in the feed.

Best,
  -- David
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber.... dmjena@jabber.org
Email..... dmaus@ictsoc.de

[-- Attachment #1.2: Type: application/pgp-signature, Size: 230 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: exporting atom/rss feeds; org-feed-alist not downloading anything from www.rememberthemilk.com
  2011-01-29  8:10 ` David Maus
@ 2011-01-29 20:38   ` David LeBauer
  2011-01-30 17:52     ` David Maus
  0 siblings, 1 reply; 7+ messages in thread
From: David LeBauer @ 2011-01-29 20:38 UTC (permalink / raw)
  To: David Maus; +Cc: emacs-orgmode

here is a copy of the rss feed

=====================================

<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom"><updated>2011-01-29T20:35:42Z</updated><title
type="html">David's Tasks -
wk-Test</title><subtitle>rememberthemilk.com</subtitle><link
type="text/html"
href="http://www.rememberthemilk.com/home/dlebauer/4685768/"
rel="alternate" title="David's Tasks - wk-Microcosm"/><link
href="http://www.rememberthemilk.com/atom/dlebauer/4685768/"
rel="self" title="David's Tasks - wk-Microcosm"
type="application/atom+xml"/><id>tag:rememberthemilk.com,1999:tasks-dlebauer-4685768</id><generator
uri="http://www.rememberthemilk.com/" version="1.0">Remember The
Milk</generator><entry><author><name>David</name></author><updated>2011-01-29T20:35:42Z</updated><link
type="text/html"
href="http://www.rememberthemilk.com/home/dlebauer/4685768/155949335"
rel="alternate" title="test task
two"/><id>tag:rememberthemilk.com,1999:tasks-dlebauer-4685768.task-155949335</id><title
type="html">test task two</title><content type="xhtml"><div
xmlns="http://www.w3.org/1999/xhtml"><div class="rtm_due"><span
class="rtm_due_title">Due: </span><span class="rtm_due_value">Sat 29
Jan 11</span></div><div class="rtm_priority"><span
class="rtm_priority_title">Priority: </span><span
class="rtm_priority_value">none</span></div><div
class="rtm_time_estimate"><span class="rtm_time_estimate_title">Time
estimate: </span><span class="rtm_time_estimate_value">1
hour</span></div><div class="rtm_tags"><span
class="rtm_tags_title">Tags: </span><span
class="rtm_tags_value">someday, wk</span></div><div
class="rtm_location"><span class="rtm_location_title">Location:
</span><span class="rtm_location_value">none</span></div><div
class="rtm_url"><span class="rtm_url_title">URL: </span><span
class="rtm_url_value"><a target="_blank"
href="http://www.google.com">http://www.google.com</a></span></div><div
class="rtm_postponed"><span class="rtm_postponed_title">Postponed:
</span><span class="rtm_postponed_value">never</span></div><div
class="rtm_notes"><div class="rtm_note"><div
class="rtm_note_title_container"><span
class="rtm_note_title"></span></div><div type="text/xhtml+xml"
xml:space="preserve" class="rtm_note_content">this is a test
note</div><div class="rtm_note_updated_container"><span
class="rtm_note_title_label">Updated: </span><span
class="rtm_note_updated">Sat 29 Jan 11 at
12:35PM</span></div></div></div></div></content></entry><entry><author><name>David</name></author><updated>2011-01-29T20:34:55Z</updated><link
type="text/html"
href="http://www.rememberthemilk.com/home/dlebauer/4685768/155949330"
rel="alternate" title="test task
1"/><id>tag:rememberthemilk.com,1999:tasks-dlebauer-4685768.task-155949330</id><title
type="html">test task 1</title><content type="xhtml"><div
xmlns="http://www.w3.org/1999/xhtml"><div class="rtm_due"><span
class="rtm_due_title">Due: </span><span
class="rtm_due_value">never</span></div><div
class="rtm_priority"><span class="rtm_priority_title">Priority:
</span><span class="rtm_priority_value">none</span></div><div
class="rtm_time_estimate"><span class="rtm_time_estimate_title">Time
estimate: </span><span
class="rtm_time_estimate_value">none</span></div><div
class="rtm_tags"><span class="rtm_tags_title">Tags: </span><span
class="rtm_tags_value">none</span></div><div
class="rtm_location"><span class="rtm_location_title">Location:
</span><span class="rtm_location_value">none</span></div><div
class="rtm_postponed"><span class="rtm_postponed_title">Postponed:
</span><span class="rtm_postponed_value">never</span></div></div></content></entry></feed>


===END====================================

On Sat, Jan 29, 2011 at 2:10 AM, David Maus <dmaus@ictsoc.de> wrote:
> At Fri, 28 Jan 2011 18:06:07 -0600,
> David LeBauer wrote:
>>
>> I would like to export my rememberthemilk.org tasks to org-mode.
>>
>> I have the following in my .emacs, following the recommendation here:
>>
>> hMicrocosmttp://stackoverflow.com/q/2138947/199217
>>
>> ;; sync org-mode with rememberthemilk
>> ;; (require org-feed)
>> (setq org-feed-alist
>>       '(("Remember The Milk"
>>          "http://www.rememberthemilk.com/rss/dlebauer/"
>>          "~/org/rtm.org"
>>          "Remember The Milk"
>>          :template "* TODO %title\n  %a\n "
>>          )))
>>
>> However, when I use C-x C-c g, I get the message:
>>
>>    no new entries from 1 feed.
>>
>> And none of the information is synced
>>
>> if I enter the feed into my browser, I can see the html/rss markup
>> with my tasks embedded, but none of it is imported to my rtm.org file
>> except for the feed name.
>
> Could you post an example of a RTM RSS feed? This would allow to check
> why Org's RSS parser fails to recognize any entries in the feed.
>
> Best,
>  -- David
> --
> OpenPGP... 0x99ADB83B5A4478E6
> Jabber.... dmjena@jabber.org
> Email..... dmaus@ictsoc.de
>



-- 
David LeBauer, PhD
Energy Biosciences Institute
University of Illinois Urbana-Champaign
1206 W. Gregory Drive
Urbana, IL  61801, U.S.A.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: exporting atom/rss feeds; org-feed-alist not downloading anything from www.rememberthemilk.com
  2011-01-29 20:38   ` David LeBauer
@ 2011-01-30 17:52     ` David Maus
  2011-01-31  0:37       ` David LeBauer
  0 siblings, 1 reply; 7+ messages in thread
From: David Maus @ 2011-01-30 17:52 UTC (permalink / raw)
  To: David LeBauer; +Cc: David Maus, emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 889 bytes --]

At Sat, 29 Jan 2011 14:38:07 -0600,
David LeBauer wrote:
>
> here is a copy of the rss feed

Thanks and entries not showing up is not a problem with Org mode.

RTM does not deliver a RSS, but an Atom feed and hence you need to set
the properties :parse-entry and :parse-feed properties in
`org-feed-alist' to org-feed-parse-atom-entry and
org-feed-parse-atom-feed respectively.

One remaining problem. though: In the example feed the feed entry
content is delivered as XHTML.  It is valid XML, thus the feed parser
of Emacs' xml package creates a list representation of the feed
content and inserts this as body of the feed content.

I am not sure at the moment how to solver or mitigage this problem.
You might check if RTM can deliver plain text or simple HTML in the
feed entry.

best,
  -- David
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber.... dmjena@jabber.org
Email..... dmaus@ictsoc.de

[-- Attachment #1.2: Type: application/pgp-signature, Size: 230 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: exporting atom/rss feeds; org-feed-alist not downloading anything from www.rememberthemilk.com
  2011-01-30 17:52     ` David Maus
@ 2011-01-31  0:37       ` David LeBauer
  2011-02-13 12:42         ` David Maus
  0 siblings, 1 reply; 7+ messages in thread
From: David LeBauer @ 2011-01-31  0:37 UTC (permalink / raw)
  To: David Maus; +Cc: emacs-orgmode

I can also get the feed as either atom or rss, but it still gives the
same error; I have attached the rss below:

David's Tasks -
wk-Testhttp://www.rememberthemilk.com/home/dlebauer/4685768/rememberthemilk.comtest
task twohttp://www.rememberthemilk.com/home/dlebauer/4685768/155949335tag:rememberthemilk.com,1999:tasks-dlebauer-4685768.task-155949335DavidDavid2011-01-29T20:35:42Ztest
task 1http://www.rememberthemilk.com/home/dlebauer/4685768/155949330tag:rememberthemilk.com,1999:tasks-dlebauer-4685768.task-155949330DavidDavid2011-01-29T20:34:55Z

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: exporting atom/rss feeds; org-feed-alist not downloading anything from www.rememberthemilk.com
  2011-01-31  0:37       ` David LeBauer
@ 2011-02-13 12:42         ` David Maus
       [not found]           ` <AANLkTikhXzOVbk6rHavT+JBwaXQzNM8GsUjut-Kzg8EW@mail.gmail.com>
  0 siblings, 1 reply; 7+ messages in thread
From: David Maus @ 2011-02-13 12:42 UTC (permalink / raw)
  To: David LeBauer; +Cc: David Maus, emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 1012 bytes --]

At Sun, 30 Jan 2011 18:37:29 -0600,
David LeBauer wrote:
>
> I can also get the feed as either atom or rss, but it still gives the
> same error; I have attached the rss below:
>
>
> wk-Testhttp://www.rememberthemilk.com/home/dlebauer/4685768/rememberthemilk.comtest
> task twohttp://www.rememberthemilk.com/home/dlebauer/4685768/155949335tag:rememberthemilk.com,1999:tasks-dlebauer-4685768.task-155949335DavidDavid2011-01-29T20:35:42Ztest
> task 1http://www.rememberthemilk.com/home/dlebauer/4685768/155949330tag:rememberthemilk.com,1999:tasks-dlebauer-4685768.task-155949330DavidDavid2011-01-29T20:34:55Z

These feeds seem not to be public or don't exist: If I try to fetch
them I get a "Sorry, this user has no published lists." for the first
one, and the second and third end up with an 404 (page does not
exist).

Could I ask you to fetch, say, the RSS feed and send it as regular
message attachment?

Best,
  -- David
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber.... dmjena@jabber.org
Email..... dmaus@ictsoc.de

[-- Attachment #1.2: Type: application/pgp-signature, Size: 230 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 7+ messages in thread

* exporting atom/rss feeds; org-feed-alist not downloading anything from www.rememberthemilk.com
       [not found]           ` <AANLkTikhXzOVbk6rHavT+JBwaXQzNM8GsUjut-Kzg8EW@mail.gmail.com>
@ 2011-02-18 21:11             ` David LeBauer
  0 siblings, 0 replies; 7+ messages in thread
From: David LeBauer @ 2011-02-18 21:11 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 1766 bytes --]

Hi, I have attached the atom feed as 'org-mode-test.atom'. I have also
made a public list called 'org-mode test' that can be accessed here:

http://www.rememberthemilk.com/home/dlebauer/17604473/

and the atom feed will be here:

http://www.rememberthemilk.com/atom/dlebauer/17604473/

Thanks,

David

On Sun, Feb 13, 2011 at 6:42 AM, David Maus <dmaus@ictsoc.de> wrote:
> At Sun, 30 Jan 2011 18:37:29 -0600,
> David LeBauer wrote:
>>
>> I can also get the feed as either atom or rss, but it still gives the
>> same error; I have attached the rss below:
>>
>>
>> wk-Testhttp://www.rememberthemilk.com/home/dlebauer/4685768/rememberthemilk.comtest
>> task twohttp://www.rememberthemilk.com/home/dlebauer/4685768/155949335tag:rememberthemilk.com,1999:tasks-dlebauer-4685768.task-155949335DavidDavid2011-01-29T20:35:42Ztest
>> task 1http://www.rememberthemilk.com/home/dlebauer/4685768/155949330tag:rememberthemilk.com,1999:tasks-dlebauer-4685768.task-155949330DavidDavid2011-01-29T20:34:55Z
>
> These feeds seem not to be public or don't exist: If I try to fetch
> them I get a "Sorry, this user has no published lists." for the first
> one, and the second and third end up with an 404 (page does not
> exist).
>
> Could I ask you to fetch, say, the RSS feed and send it as regular
> message attachment?
>
> Best,
>  -- David
> --
> OpenPGP... 0x99ADB83B5A4478E6
> Jabber.... dmjena@jabber.org
> Email..... dmaus@ictsoc.de
>



--
David LeBauer, PhD
Energy Biosciences Institute
University of Illinois Urbana-Champaign
1206 W. Gregory Drive
Urbana, IL  61801, U.S.A.



-- 
David LeBauer, PhD
Energy Biosciences Institute
University of Illinois Urbana-Champaign
1206 W. Gregory Drive
Urbana, IL  61801, U.S.A.

[-- Attachment #2: org-mode-test.atom --]
[-- Type: application/atom+xml, Size: 5417 bytes --]

[-- Attachment #3: Type: text/plain, Size: 201 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-02-18 21:11 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-29  0:06 exporting atom/rss feeds; org-feed-alist not downloading anything from www.rememberthemilk.com David LeBauer
2011-01-29  8:10 ` David Maus
2011-01-29 20:38   ` David LeBauer
2011-01-30 17:52     ` David Maus
2011-01-31  0:37       ` David LeBauer
2011-02-13 12:42         ` David Maus
     [not found]           ` <AANLkTikhXzOVbk6rHavT+JBwaXQzNM8GsUjut-Kzg8EW@mail.gmail.com>
2011-02-18 21:11             ` David LeBauer

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).