diff options
author | Bo Ørsted Andresen <zlin@exherbo.org> | 2009-12-16 19:03:21 +0000 |
---|---|---|
committer | Bo Ørsted Andresen <zlin@exherbo.org> | 2009-12-16 19:17:49 +0000 |
commit | 400eda9fca1362d2df62bcbb332bb1f11952499d (patch) | |
tree | 16c8a14becdd8061c6619cc9d687df863bb5ac57 | |
parent | 1f069d72c095f38b502844a763069f45cc64fcd1 (diff) | |
download | wgetpaste-400eda9fca1362d2df62bcbb332bb1f11952499d.tar.gz |
Add support for codepad.org (patch submitted by Robert Djubek <rodjubek@yahoo.com>).
-rwxr-xr-x | wgetpaste | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -14,11 +14,15 @@ E=$'\e' N=$'\n' ### services -SERVICES="ca dpaste osl" +SERVICES="ca codepad dpaste osl" # ca ENGINE_ca=ca URL_ca="http://pastebin.ca/" SIZE_ca="1024000 1%MB" +# codepad +ENGINE_codepad=codepad +URL_codepad="http://codepad.org/" +SIZE_codepad="64000 64%KB" # dpaste ENGINE_dpaste=dpaste URL_dpaste="http://dpaste.com/" @@ -44,6 +48,10 @@ EXPIRATIONS_ca="Never 5%minutes 10%minutes 15%minutes 30%minutes 45%minutes 1%ho POST_ca="s=Submit+Post name description type expiry % content" REGEX_URL_ca='s|^.*content="[0-9]*;\(http://[^/]*/[0-9]*\)".*$|\1|p' REGEX_RAW_ca='s|^\(http://[^/]*/\)\([0-9]*\)$|\1raw/\2|' +# codepad +LANGUAGES_codepad="C C++ D Haskell Lua OCaml PHP Perl Plain%Text Python Ruby Scheme Tcl" +POST_codepad="submit % % lang % % code" +REGEX_URL_codepad='s|^--.*\(http://codepad.org/[^ ]\+\)|\1|p' # dpaste LANGUAGES_dpaste="Plain%Text Apache%Config Bash CSS Diff Django%Template/HTML Haskell JavaScript \ Python Python%Interactive/Traceback Ruby Ruby%HTML%(ERB) SQL XML" |