同步 twitter 到 飯否

google 看到 raptium同學的 post Twitter和饭否同步

像我這種懶人自然就拿來用了

不過又不想把 twitter 上的回復也 sync 到飯否

so 加了一個 statement 把 @blah 都過濾了

如果有比我更懶得同學也想這麼做的話只要把

elif snode.nodeName == 'text':

改成

elif (snode.nodeName == 'text') and (snode.childNodes[0].nodeValue[0] != '@'):

就可以了 icon biggrin 同步 twitter 到 飯否

One thought on “同步 twitter 到 飯否

  1. Pingback: 同步twitter到饭否 - jimey - jimey’s Life jimey’s World

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">