FasdUAS 1.101.10 k l 93--------------------------------------------------- l   QSPRESS v 10-May-2007  l  93---------------------------------------------------  l )# http://garrickvanburen.com/qspress l *$ Write to WordPress from Quicksilver l l % QSPress is released under the  l 93 Creative Commons Attribution, ShareAlike license.  l 93--------------------------------------------------- l! ! AUTHOR  "# "l$ $ Garrick Van Buren #%& %l' '" http://garrickvanburen.com/&() (l* *93---------------------------------------------------)+, +l- - REQUIREMENTS,./ .l0 060 Quicksilver (http://quicksilver.blacktree.com/)/12 1l3 3pj A WordPress blog (or a blog that understands the MetaWeblog API - I haven't tested it on other platforms)245 4l6 693---------------------------------------------------578 7l9 9 INSTALLATION8:; :l< <MG You'll need to enter your weblog credentials within the script below. ;=> =l? ?1+ Don't worry - it's stuff you already know.>@A @lB B)# 1. Enter your account name on [1.]ACD ClE E% 2. Enter your password on [2.]DFG FlH H(" 3. Enter your blog's name on [3.]GIJ IlK K.( 4. Enter your blog's name again on [4.]JLM LlN NQK 5. Save this script into ~/Library/Application Support/Quicksilver/ActionsMOP OlQ Q.( (if the folder isn't there - create it)PRS RlT T93---------------------------------------------------SUV UlW W  USAGEVXY XlZ Z 1. Activate QuicksilverY[\ [l] ]+% 2. Hit '.' to activate the text area\^_ ^l` ` 3. Type_ab alc c 3.5 To apply categories: type a pipe '|' after your post, and type the categories. Separate multiple categories with a comma. Categories not currently in your blog will be ignored.bde dlf f/) 4. Hit the tab key to and type 'qspress'egh gli i 5. Hit Enterhjk jlklm lln n93---------------------------------------------------mop olq q/) THE MAGIC HAPPENS HERE --prs rlt t93---------------------------------------------------suv ulvwx wlxyz yw{| {k}}~ ~l i I .DAEDopnt****utxt o 0str k l r m default o 0 theblogid theBlogID 2, [0. CHANGE IF YOU KNOW IT'S SOMETHING ELSE] r m ![1. YOUR BLOG ACCOUNT NAME] o 0theaccountnametheAccountName r m [2. YOUR BLOG PASSWORD] o (0theaccountpasswordtheAccountPassword l  r  c  l  I  .misccurdldt null m  TEXT o 0thedatetheDate l Zk E o 0str m | ke r' n% l% I% 0split o 0str  by m ! | f o 0 thestring theString r(. n(, 4),  cobj m*+ o() 0 thestring theString o 0thepostthePost r/5 n/3 403  cobj m12 o/0 0 thestring theString o 0thecategorystrtheCategoryStr r6A n6? l7? I7? 0split o79 0thecategorystrtheCategoryStr  by m:; , f67 o 0 thecategories theCategories lBB YBe rP` IP[ 0 trim_line nQU 4RU  cobj oST 0i oQR 0 thecategories theCategories mUV   mVW n 4\_  cobj o]^ 0i o[\ 0 thecategories theCategories 0i mEF lFK IFK .corecnte******** oFG 0 thecategories theCategories rhk ohi 0str o 0thepostthePost lll lll Zl ?lq nlo 1mo  leng olm 0thepostthePost mop( kt rt ct nt 7u  cha m{} m~( otu 0thepostthePost m  TEXT o 0thetitletheTitle r b o 0thetitletheTitle m  ... o 0thetitletheTitle r o 0thepostthePost o 0thetitletheTitle l    l~~    Z} E o| |0str m | O r I{z {.rpc RPC2listreco Ky y meth m metaWeblog.newPostxw x parm J ov v0 theblogid theBlogID !" !ou u 0theaccountnametheAccountName"#$ #ot t(0theaccountpasswordtheAccountPassword$%& %K''s() s 0title (or r0thetitletheTitle)q*+ q0 description *op p0thepostthePost+o,n o0 categories ,om m0 thecategories theCategoriesn&-l -mkklwz oj j0 returnvalue returnValue m..null߀BAD*@aprlhttp://[3.-YOUR-BLOG-NAME]/xmlrpc.php} O/0 /r12 1Ii3h i.rpc RPC2listreco 3K44g56 g meth 5m7 7metaWeblog.newPost6f8e f parm 8J99:; :od d0 theblogid theBlogID;<= <oc c 0theaccountnametheAccountName=>? >ob b(0theaccountpasswordtheAccountPassword?@A @KBBaCD a 0title Co` `0thetitletheTitleD_E^ _0 description Eo] ]0thepostthePost^AF\ Fm[[\eh 2oZ Z0 returnvalue returnValue 0mGGnull߀BAD*@aprlhttp://[4.-YOUR-BLOG-NAME-AGAIN]/xmlrpc.php HY HlXWXWYIV IlUTUTV|nullQQuicksilver.applw H:`/(sꖘ,Kdaedalis` Macintosh HDuH+Quicksilver.app'"% Applicationsv<#5u)Macintosh HD:Applications:Quicksilver.app Quicksilver.app Macintosh HDApplications/Quicksilver.app/zJK JlSRSRKLM LlQPQPMNO NlONONOPQ PlMLMLQRS RlKJKJSTU TiVW VIIXY I 0split XoH H0astringaStringYGZF G by ZoE E0sepF Wk[[\] \q^^D_ D0alistaList_CB C 0delimsB]`a `Obc bkddef er gh g1A A txdl ho@ @ 0delimsfij ir kl ko ? ?0sep l1 > > txdljmn mrop onqr q2= = citm ro< <0astringaString po; ;0alistaListns: srtu to9 9 0delims u18 8 txdl: c17 7 ascrav6 vLw wo5 50alistaList6Uxy xl4343yz{ zi |} |I2~ 20join ~o1 10alistaList0/ 0 by o. .0sep/ }k q- -0astringaString,+ , 0delims+ O k r  1* * txdl o) ) 0delims r  o ( (0sep 1 ' ' txdl r c o& &0alistaList m% % TEXT o$ $0astringaString# r o" " 0delims 1! ! txdl# 1  ascr L o 0astringaString{ l l i  I  0 trim_line o  0 this_text o 0 trim_chars o 0trim_indicator k{ l '! 0 = beginning, 1 = end, 2 = both r l n 1  leng l o 0 trim_chars o 0x l   TRIM BEGINNING Z> E  J  m   m l  o  0trim_indicator V: Q5 r+ c) n' 7'  cha l# [# o ! 0x m!" m$& o 0 this_text m'(  TEXT o 0 this_text R .ascrerr ******** k35 l33 82 the text contains nothing but the trim characters L35 m34  C o 0 this_text l o 0 trim_chars   l??  TRIM ENDING Z?x E?E J?C m?@ m@A lCD oCD 0trim_indicator VHt QPo rSe cSc nSa 7Ta  cha mXZ d[` l\_ [\_ o\] 0x m]^ oST 0 this_text mab  TEXT o 0 this_text R .ascrerr ******** kmo lmm 82 the text contains nothing but the trim characters Lmo mmn  DLO oLM 0 this_text lMN oMN 0 trim_chars Ly{  oyz 0 this_text      .DAEDopnt****utxt 0split 0join 0 trim_line  .DAEDopnt****utxt 0str 0str 0 theblogid theBlogID 0theaccountnametheAccountName (0theaccountpasswordtheAccountPassword 0thedatetheDate 0 thestring theString 0thepostthePost 0thecategorystrtheCategoryStr 0 thecategories theCategories 0i 0thetitletheTitle 0 returnvalue returnValue .G7 .misccurdldt null  TEXT  by 0split  cobj .corecnte******** 0 trim_line  leng(  cha  meth  parm 0title 0 description 0 categories .rpc RPC2listrecoEOEOEO*j &EON)Zl EOk/EOl/EO)Zl EO"kj kh */lm+ /F[OYYEO,[a\[Zk\Z2&EOa%EYEOa7a-aaaaaaakavaj EUY0a)aaaaaakavaj EUOP W 0split 0astringaString  by 0sep 0astringaString 0sep 0alistaList 0delims  ascr  txdl  citm *,EO*,FO-EO*,FUO } 0join 0alistaList  by 0sep 0alistaList 0sep 0astringaString 0delims  ascr  txdl  TEXT *,EO*,FO&EO*,FUO 0 trim_line 0 this_text 0 trim_chars 0trim_indicator 0 this_text 0 trim_chars 0trim_indicator 0x  leng  cha  TEXT|,EOjllv0*h[\[Zk\Zi2&EW X[OYYhOkllv1+h[\[Zk\Zk'2&EW X[OYYhOascr ޭ