Skip to content

Commit

Permalink
- Merge own branch with older related changes: prelim work to support…
Browse files Browse the repository at this point in the history
… pastebin.d

- Build new pastebin configuration files.
  • Loading branch information
Matt Trudel committed Aug 11, 2009
2 parents 8675c3d + 6917ad5 commit 0489430
Show file tree
Hide file tree
Showing 11 changed files with 298 additions and 62 deletions.
17 changes: 17 additions & 0 deletions pastebin.d/fpaste.org.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Another website that doesn't work due to unusual changes.
# this is the Fedora Pastebin, sadly.

[pastebin]
basename = fpaste.org
regexp = "http://fpaste.org"

[format]
user = author
content = content
format = lang
submit = submit
expire_options = expire_options

[defaults]
submit = "paste it!"
expire_options = 3600
24 changes: 24 additions & 0 deletions pastebin.d/paste.debian.net.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# elif website == "http://paste.debian.net":
# params['poster'] = user
# params['lang'] = "-1" #The format, for syntax hilighting, default to plain text
# params['syntax'] = format #The format, for syntax hilighting
# params['code'] = content
# params['remember'] = "0" #Do you want a cookie ?
# params['expire'] = "259200" # expire in 72h

[pastebin]
basename = paste.debian.net
regexp = "http://paste.debian.net"

[format]
user = poster
content = code
format = syntax
lang = lang
remember = remember
expire = expire

[defaults]
lang = -1
remember = 0
expire = 259200
10 changes: 10 additions & 0 deletions pastebin.d/paste.ubuntu.com.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[pastebin]
basename = paste.ubuntu.com
regexp = "http://paste.ubuntu.com"

[format]
user = poster
content = content
format = syntax

[defaults]
21 changes: 21 additions & 0 deletions pastebin.d/paste2.org.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# elif website == "http://paste2.org":
# params['page'] = "/new-paste"
# params['description'] = title
# params['lang'] = format
# params['code'] = content
# params['parent'] = "0"

[pastebin]
basename = paste2.org
regexp = "http://paste2.org"

[format]
title = description
content = code
format = lang
page = page
parent = parent

[defaults]
page = '/new-paste'
parent = 0
17 changes: 17 additions & 0 deletions pastebin.d/pastebin.ca.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
[pastebin]
basename = pastebin.ca
regexp = "http://((([a-zA-Z0-9\-_\.]*)(pastebin\.ca)))"

[format]
user = name
content = content
type = type
save = save
submit = submit
regexp = regexp

[defaults]
type = 1
save = 0
submit = s
regexp = '">http://.*pastebin.ca/(.*)</a></p><p>'
19 changes: 19 additions & 0 deletions pastebin.d/pastebin.com.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
[pastebin]
basename = pastebin.com
regexp = "http://((([a-zA-Z0-9\-_\.]*)(pastebin\.com)))"
#FIXME: not website == "http://www.pastebin.com") or website == "http://pastebin.mozilla.org":

[format]
user = poster
content = code2
version = version
parentpid = parent_pid
format = format
submit = paste
remember = remember
expiry = expiry

[defaults]
remember = f
expiry = 1
paste = Send
18 changes: 18 additions & 0 deletions pastebin.d/pastey.net.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
[pastebin]
basename = pastey.net
regexp = "http://((([a-zA-Z0-9\-_\.]*)(pastey\.net)))"

[format]
user = author
title = subject
parentpid = parent
content = text
format = language
paste = paste
page = page
regexp = regexp

[defaults]
paste = "Paste"
page = '/submit.php'
regexp = '">http://(?:(?:[a-zA-Z0-9\-_\.]*)(?:pastey\.net))/(.*)</a>'
15 changes: 15 additions & 0 deletions pastebin.d/rafb.net.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
[pastebin]
basename = rafb.net
regexp = "http://rafb.net"

[format]
user = nick
content = text
page = page
lang = lang
cvt_tabs = cvt_tabs

[defaults]
page = "/paste/paste.php"
lang = "Plain Text"
cvt_tabs = "No"
24 changes: 24 additions & 0 deletions pastebin.d/slexy.org.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
[pastebin]
basename = slexy.org
regexp = "http://slexy.org"

[format]
user = author
content = raw_paste
title = desc
page = page
language = language
permissions = permissions
linenumbers = linenumbers
comment = comment
submit = submit
expire = expire

[defaults]
submit = "Submit Paste"
page = "/index.php/submit"
language = "text"
permissions = 0
comment = ""
linenumbers = 0
expire = 0
27 changes: 27 additions & 0 deletions pastebin.d/stikked.com.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# elif website == "http://stikked.com":
# params['name'] = user
# params['title'] = title
# params['email'] = ""
# params['lang'] = "text" #The format, for syntax hilighting
# params['code'] = content
# params['website'] = ""
# params['submit'] = "submit"

[pastebin]
basename = stikked.com
regexp = "http://stikked.com"

[format]
user = name
content = code
title = title
email = email
lang = lang
website = website
submit = submit

[defaults]
email = ""
lang = "text"
website = ""
submit = "submit"

0 comments on commit 0489430

Please sign in to comment.