The Artima Developer Community
Sponsored Link

Python Buzz Forum
Getting it together

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Abe Fettig

Posts: 46
Nickname: abe
Registered: Aug, 2003

Abe Fettig is a software developer who specializes in moving bits of text around the internet.
Getting it together Posted: Dec 10, 2004 9:34 AM
Reply to this message Reply

This post originated from an RSS feed registered with Python Buzz by Abe Fettig.
Original Post: Getting it together
Feed Title: Abe Fettig's Weblog
Feed URL: http://www.fettig.net/xml/rss2.xml?flav=rss
Feed Description: Abe Fettig writes software. This is his weblog.
Latest Python Buzz Posts
Latest Python Buzz Posts by Abe Fettig
Latest Posts From Abe Fettig's Weblog

Advertisement
I spent the day at home today, not feeling well.  Being stuck at home I had a chance to catch up on some things, including cleaning out my email Inbox, which unearthed a few messages that I need to reply to but had forgotten about.  So if you've sent me a message in the past month and haven't heard back, you should soon.  I've got 19 pending items in by Inbox at the moment, and I hope to get that down to < 10 before I go to bed.

Also today I wrote a little program, yarncopy.py, which uses Yarn to copy messages from one location to another.  It's just a little script, 118 lines of code, but since it's based on Yarn it can work with lots of different formats and protocols.  You can do fetchmail-type things:
yarncopy.py pop://abe@my.server mailto:abe@localhost
Or rss2email-type things:
yarncopy.py http://fettig.net/rss/rss2.xml \ 
 mailto:somebody@example.com
And you can even do weird things like IMAP-to-blog:
yarncopy.py imap://mail.example.com/Inbox \ 
 metaweblog:http://example.com/mt.cgi#Weblog
It will prompt you for user names and passwords as necessary.  Right now it copies every message, every time, which limits its usefulness, but with some more work I think it has the potential to become quite a powerful tool.

Read: Getting it together

Topic: Automatic linking in Hep Previous Topic   Next Topic Topic: Dynamic Languages Summit at Sun

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use