<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="/xml.xsl" type="text/xsl"?><feed xmlns="http://www.w3.org/2005/Atom">
  <title>nulog, NULL::something : out of the headphone &gt; 2006 &gt; March &gt; 02 &gt; はてブと del.icio.us を同時に使うように</title>
  <link href="http://lowreal.net/logs/2006/03/02/1"/>
  <icon>http://lowreal.net/img/banner.png</icon>
  <link rel="self" type="application/atom+xml" href="http://lowreal.net/logs/2006/03/02/1.atom"/>
  <link rel="alternate" type="application/xhtml+xml" href="http://lowreal.net/logs/2006/03/02/1.xhtml"/>
  <updated>2006-03-02T11:52:47+09:00</updated>
  <author>
    <name>cho45(砂糖)</name>
  </author>
  <id>http://lowreal.net/2006/03/02/1</id>
  <entry>
    <title>はてブと del.icio.us を同時に使うように</title>
    <link rel="alternate" type="text/html" href="http://lowreal.net/logs/2006/03/02/1.html"/>
    <link rel="alternate" type="application/xml+xhtml" href="http://lowreal.net/logs/2006/03/02/1.xhtml"/>
    <updated>2006-03-02T11:52:47+09:00</updated>
    <published>2006-03-02T11:52:47+09:00</published>
    <id>http://lowreal.net/2006/03/02/1</id>
    <category term="js"/>
    <category term="gm"/>
    <category term="net"/>
    <category term="web"/>
    <content type="xhtml" xml:base="http://lowreal.net/">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p><abbr title="Common Gateway Interface">CGI</abbr> 設置するのとかめんどいので <a href="/2006/xpost-del-hatena.user.js">xpost-del-hatena.user.js</a>, <abbr title="GreaseMonkey | Game Master">GM</abbr> スクリプトにした。</p>
        <p>はてなの認証方法がややこしいので、はてなをメインにして、del.icio.us をスクリプトで同期するように。新規ブックマーク, 編集, 削除がそれぞれ del.icio.us にも反映される。ただ、編集の場合、del.icio.us で上にあがってしまう問題がある (はてなの編集画面にはポスト時刻が表示されないのでめんどい)。</p>
        <p>最初なぜか <abbr title="Application Program(ming) Interface">API</abbr> 使わないで実装してた。頭が悪い</p>
        <ins datetime="2006-03-03T23:55:39+09:00">
          <p>ちょっと補足します。</p>
          <p><abbr>Fx</abbr> 1.5.0.1 + GreaseMonkey 0.6.4 ではとりあえず動いています。中身で無駄に <abbr title="ECMAScript for XML">E4X</abbr> 使っているので、1.5 未満では絶対に動かないです。</p>
          <p>ついでに動いてても何も言われません。淡々と del.icio.us に追加されたり削除されたりします。(最初の一回は del.icio.us の API Basic 認証がでます。これには del.icio.us のユーザ名とパスを入れます。)</p>
          <p>del.icio.us 側の操作は<abbr>はてブ</abbr>に反映されません。「はてなをメインにして」はそういう意味です。</p>
        </ins>
      </div>
    </content>
  </entry>
</feed>
