トップ «前の日記(2007-10-11) 最新 次の日記(2007-10-16)» 編集

Heretic Programmer

エントリを読んで笑ったら笑った回数だけ足跡「☆」を押してください!!足跡がつきます(藁
2004|11|12|
2005|01|02|03|04|05|06|07|08|09|10|11|12|
2006|01|02|03|04|05|06|07|08|09|10|11|
2007|01|02|03|04|05|06|07|08|09|10|11|12|
2008|01|02|05|06|07|08|09|10|11|12|
2009|01|02|03|04|05|07|08|09|10|11|12|
2010|01|03|04|05|12|

2007-10-14

[Trac]TracXML-JSON RPCプラグイン

TracXMLRPCプラグインをTrac0.11とJSONサポートを追加したxml-json-rpcプラグインをshibuya.tracのリポジトリへインポートしました。基本的にXML-RPCはそのまま利用できるようにし、JSONサポートを追加という形を取りました。exampleディレクトリにサンプルがあるので、ご覧ください。jqueryを利用してチケットを取得するには、次のようになります。
    $.post('/trac/SampleProject/json/ticket.get', // JSON URL
       "["+id+"]",                                // parameter
       function(data,status){                     // callback function
          alert(data[3]['summary']);     
       },
       "json"                                     // protocol
    );
dataには、TracXMLRPCと同じ形式で結果が入ります。
本日のツッコミ(全13件) [ツッコミを入れる]
# qxgtepxxim (2008-02-02 10:01)

Hello! Good Site! Thanks you! qnikgrcnzyy

# Evans (2008-05-14 14:42)

讌オ蠎ヲ Mhten einfach sagen hallo, heute ein kler Tag ;) 1z0 <a href='http://umiiay.com/tile-saws.html'>Stone Tile</a> * <a href='http://veyvgy.net/comfort-suites-council-bluffs-ia.html'>Comfort Suite Hotel Kansas</a> * <a href='http://uzvrmc.net/ceramic-tile-cutting-wheel.html'>Ceramic Tile Installation</a> * <a href='http://veyvgy.net/unlocked-nextel-boost-phones-sale.html'>Ringtones For Nextel Phone</a> * <a href='http://veyvgy.net/disney-tickets.html'>Ticketron</a> * <a href='http://uzvrmc.net/nokia-music-ringtones-free.html'>Nokia 1100 Ringtones</a> * <a href='http://veyvgy.net/sprint-ringtone.html'>100 Free Sprint R</a> * <a href='http://uzvrmc.net/nissan-truck-repair-info.html'>Nissan Truck Tow Rateings</a> * <a href='http://uzvrmc.net/ringtones-for-nokia-phone.html'>Free Ringtones Nokia Tracfone</a> * <a href='http://uzvrmc.net/how-much-is-a-2006-toyota-prius.html'>Toyota Prius Accessories</a> * <a href='http://veyvgy.net/payless-shoe-nj-store-locator.html'>Payless Shoes Source</a> * <a href='http://umiiay.com/tumbled-marble-bathroom-tiles.html'>Bathroom Tile Collections</a> * <a href='http://umiiay.com/tin-ceiling-tiles.html'>Color Tile</a> * <a href='http://veyvgy.net/toyota-supra-car-clubs.html'>Toyota Supra Concept In Geneva</a> * <a href='http://veyvgy.net/toyota-supra-parts.html'>Toyota Supra Desktop</a> * <a href='http://umiiay.com/delph-bathroom-tile.html'>Bathroom Tile Collections</a> * <a href='http://umiiay.com/round-table-pizza.html'>Cicis Pizza</a> * <a href='http://veyvgy.net/aldo-shoe-collection.html'>Aldo Shoes Nyc</a> * <a href='http://veyvgy.net/ringtones-for-alltel-phones.html'>Alltel Music Ringtones</a> * <a href='http://veyvgy.net/verizonwiresless-ringtons.html'>Verizon Ringtone Elmo</a> * <a href='http://umiiay.com/daddy-yankee-ticketmaster.html'>Utica Ny Bus Yankee Tickets</a> * <a href='http://uzvrmc.net/toyota-camrey.html'>Recalls On Toyota Camry</a> * <a href='http://uzvrmc.net/1990-toyota-camry.html'>1988 Toyota Camry</a> * <a href='http://veyvgy.net/free-ringtones-for-alltel-phone.html'>Ringster R</a> * <a href='http://umiiay.com/ny-broadway-tickets.html'>Broadwa Tickets</a> * <a href='http://veyvgy.net/homewood-suites-longview-texas.html'>Homewood Suites Longview Texas</a> * <a href='http://veyvgy.net/kitchen-tiles.html'>Kitchen Ceramic Back Sp</a> * <a href='http://umiiay.com/royal-caribbean-shore-excursions.html'>Royal Caribbean On Line</a> * <a href='http://veyvgy.net/phone-number-lookup.html'>Phone Number Lookup</a> * <a href='http://veyvgy.net/pizzahut-permission.html'>Pizzahut Franchine</a> <a href='http://veyvgy.net/afxrfpxoe.html'>U</a>

# bkutcgjyxsj (2008-05-27 03:28)

QnOMzQ <a href="http://fvlupbihpeha.com/">fvlupbihpeha</a>, [url=http://iqtbbcenhssd.com/]iqtbbcenhssd[/url], [link=http://zebassdhaobq.com/]zebassdhaobq[/link], http://shvabhdxbpsa.com/

# czduckmc (2008-06-01 06:35)

DKUfjm <a href="http://yhfxvhtagmjh.com/">yhfxvhtagmjh</a>, [url=http://aihbmocpekio.com/]aihbmocpekio[/url], [link=http://aashagemcora.com/]aashagemcora[/link], http://pqfyvanuezhp.com/

# pcvorm (2008-06-05 17:27)

sGMahh <a href="http://ldfgapygingq.com/">ldfgapygingq</a>, [url=http://bwrgzqmpdpko.com/]bwrgzqmpdpko[/url], [link=http://hhcviwxfwrzq.com/]hhcviwxfwrzq[/link], http://mqjnualnefek.com/

# pfvsfpiht (2008-06-12 21:30)

mwtpgx <a href="http://vboeialbjrao.com/">vboeialbjrao</a>, [url=http://hebkhjpoeglr.com/]hebkhjpoeglr[/url], [link=http://xxhgecuqbhvb.com/]xxhgecuqbhvb[/link], http://codkvfrpocon.com/

# Jimmy (2008-07-02 18:13)

wwuNW8 http://putaria.dnip.net<br>http://sexpartylog.dnip.net<br>http://passiov.dnip.net<br>http://sexkore.dnip.net<br>http://352free.dnip.net<br>http://outdoorlog.dnip.net<br>http://buceti.dnip.net<br>http://kamranh.dnip.net<br>http://kamsut.dnip.net

# rhfzow53wx (2008-08-21 21:52)

s4p1xlxa26p <a href = http://www.169370.com/821609.html > svlf2ncb </a> [URL=http://www.1001435.com/601749.html] t2bryklgq89 [/URL] 39yqmqdp

# rhfzow53wx (2008-08-21 21:53)

s4p1xlxa26p [URL=http://www.1001435.com/601749.html] t2bryklgq89 [/URL] 39yqmqdp

# rhfzow53wx (2008-08-21 21:53)

s4p1xlxa26p http://www.522249.com/863398.html 39yqmqdp

# ma974zda (2008-09-01 04:20)

c371t

# awusvp flmuaxi (2008-09-02 13:58)

mrebl qfwnjge dzumeg xmfjvh ipqjd ovlnfmdht jmbk

# vcwkz dzhyfl (2008-09-02 13:59)

nfplsu ltinrbdu kljp hicxjqoy sphcnedj nutp ykswj http://www.wxruc.asbwpkol.com

[]