雑談

c636f66b anonymous 2007-01-07 02:52
RSSなどを生成するmakerss.pyについて質問です。
このファイル内でよく理解できなかった部分をコメントアウトして動作させてます。
def make_suggest():とdef send_ping():ですが、ping_commandについて参考になるお話が聞けたら幸いです。
---
def send_ping():
ping_command = "/usr/local/bin/blog-ping"
ping_target = os.path.expanduser("~fuktommy/work/ping")
os.system("%s -i %s http://zama.hopto.org/ > /dev/null" %
(ping_command, ping_target))
---

"/usr/local/bin/blog-ping" で指し示している「blog-ping」は
http://tori.cocolog-nifty.com/ape/2004/03/blogping.html
で解説しているのと同じようなものなのでしょうか?

Top of this page. | <<last 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99

limit: 15360KB

(雑談/9949/18.0MB)

Powered by shinGETsu.