Import links and files from a Hipchat room to Delicious.com
- Open hiplicious.py and update the config with your creds (see below)
- Run that sh-t
hiplicious.py will find any URLs in your logs (and optionally your file attachments too), and post them to Delicious.com.
- The message text will be included as a comment (with the URL stripped out).
- The message author will be included as a tag
- Any hashtags in the message will be included as tags
Import everything
python hiplicious.py -a
Import today (put this badboy on a cron)
python hiplicious.py
Import a specific date
python hiplicious.py -d 2012-12-21
Import everything from a specific date until today
python hiplicious.py -c -d 2012-12-21
Pretty self-explanatory
Leave this alone
no
to keep bookmarks private, yes
to make them public
Your Hipchat API token. You need an admin token.
For now, hiplicious.py can only do one room. Here's how you find your room's ID:
- Use the API
- Log into the Hipchat web app, open the room, click "Room actions", click "Browse chat history," and get the Room ID from the URL
Leave this alone
Whether to include file attachment URLs. True
or False
- Allow room id to be passed on the command line
- Maybe a way to find the room id if passed the room's name
- Better logging
- Become smarter and write better code