summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrzysztof Wojciechowski <kwpolska@gmail.com>2012-05-05 19:02:54 +0200
committerBo Ørsted Andresen <zlin@exherbo.org>2012-05-05 21:14:46 +0200
commit821da92ec3db99449af37a76e65340c7fc753e1d (patch)
treefe664d4d8bb6e4c43e3f2b3af8fd32142048e79d
parent8665faab18abc89751fcf06353dedeea5b2b9ef7 (diff)
downloadwgetpaste-821da92ec3db99449af37a76e65340c7fc753e1d.tar.gz
Adding paste.pound-python.org (=lodgeit=paste.pocoo.org)
-rwxr-xr-xwgetpaste20
1 files changed, 19 insertions, 1 deletions
diff --git a/wgetpaste b/wgetpaste
index 3c9e2c9..4fdb899 100755
--- a/wgetpaste
+++ b/wgetpaste
@@ -14,7 +14,7 @@ E=$'\e'
N=$'\n'
### services
-SERVICES="ca codepad gists dpaste osl"
+SERVICES="ca codepad dpaste gists poundpython osl"
# ca
ENGINE_ca=ca
URL_ca="http://pastebin.ca/"
@@ -32,6 +32,9 @@ DEFAULT_EXPIRATION_dpaste="30 days"
# gists
ENGINE_gists=gists
URL_gists="https://api.github.com/gists"
+# poundpython
+ENGINE_poundpython=lodgeit
+URL_poundpython="http://paste.pound-python.org/"
# osl
ENGINE_osl=osl
URL_osl="http://pastebin.osuosl.org/ pastebin.php"
@@ -100,6 +103,21 @@ json_gists() {
local description="${1}" language="${2}" content="${3}"
echo "{\"description\":\"${description}\",\"public\":\"true\",\"files\":{\"${description//\/}.${language}\":{\"content\":\"${content}\"}}"
}
+# lodgeit
+LANGUAGES_lodgeit="Apache%Config%(.htaccess) Bash Batch%(.bat) Boo C C# C++ Clojure Creole%Wiki CSS \
+CSV D Debian%control-files Django%/%Jinja%Templates Dylan Erlang eRuby%/%rhtml GAS GCC%Messages \
+Genshi%Templates Gettext%catalogs GL%Shader%language Haskell HTML INI%File Interactive%Ruby IO \
+IRC%Logs Java javac%Messages JavaScript JSP Lighttpd Literate%Haskell LLVM Lua Mako%Templates Matlab \
+Matlab%Session MiniD Multi-File Myghty%Templates MySQL Nasm Nginx Object-Pascal OCaml Perl PHP \
+PHP%(inline) Povray Python Python%Console%Sessions Python%Tracebacks reStructuredText Ruby Scala \
+Scheme Smalltalk Smarty sources.list SQL SquidConf TeX%/%LaTeX Plain%Text Unified%Diff Vim XML XSLT YAML"
+LANGUAGE_VALUES_lodgeit="apache bash bat boo c csharp cpp clojure creole css csv d control html+django \
+dylan erlang rhtml gas gcc-messages html+genshi gettext glsl haskell html ini irb io irc java \
+javac-messages js jsp lighttpd literate-haskell llvm lua html+mako matlab matlabsession minid multi \
+html+myghty mysql nasm nginx objectpascal ocaml perl html+php php povray python pycon pytb rst ruby \
+scala scheme smalltalk smarty sourceslist sql squidconf tex text diff vim xml xslt yaml"
+POST_lodgeit="submit=Paste! % % language % % code"
+REGEX_RAW_lodgeit='s|^\(http://[^/]*/\)show\(/[0-9]*/\)$|\1raw\2|'
# osl
LANGUAGES_osl="Plain%Text ActionScript Ada Apache%Log%File AppleScript Assembly%(NASM) \
ASP Bash C C%for%Macs CAD%DCL CAD%Lisp C++ C# ColdFusion CSS D Delphi Diff DOS Eiffel Fortran \