Skip to content

Commit

Permalink
Add support for paste2.org
Browse files Browse the repository at this point in the history
  • Loading branch information
stgraber committed Jun 10, 2008
1 parent ee2fef9 commit 05eb902
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 6 deletions.
18 changes: 12 additions & 6 deletions pastebinit
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,18 @@ try:
params['username'] = username
params['password'] = password
params['version'] = version
elif website == "http://rafb.net" :
params['page']="/paste/paste.php"
params['nick']=user
params['text']=content
params['lang']="Plain Text" #The format, for syntax hilighting
params['cvt_tabs']="No"
elif website == "http://rafb.net":
params['page'] = "/paste/paste.php"
params['nick'] = user
params['text'] = content
params['lang'] = "Plain Text" #The format, for syntax hilighting
params['cvt_tabs'] = "No"
elif website == "http://paste2.org":
params['page'] = "/new-paste"
params['description'] = title
params['lang'] = format
params['code'] = content
params['parent'] = "0"
elif website == "http://yourpaste.net":
params['syntax'] = format
params['name'] = user
Expand Down
3 changes: 3 additions & 0 deletions pastebinit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,9 @@
<listitem>
<para>http://paste.stgraber.org</para>
</listitem>
<listitem>
<para>http://paste2.org</para>
</listitem>
</itemizedlist>
</refsect1>
<refsect1>
Expand Down

0 comments on commit 05eb902

Please sign in to comment.