Skip to content

Commit

Permalink
geniuspaste: Add fpaste.org support
Browse files Browse the repository at this point in the history
  • Loading branch information
b4n committed Jan 16, 2016
1 parent 8f97f38 commit a7bf3a7
Show file tree
Hide file tree
Showing 2 changed files with 68 additions and 0 deletions.
1 change: 1 addition & 0 deletions geniuspaste/data/Makefile.am
Expand Up @@ -5,6 +5,7 @@ pastebinsdir = $(plugindatadir)/pastebins
dist_pastebins_DATA = \
codepad.org.conf \
dpaste.de.conf \
fpaste.org.conf \
pastebin.geany.org.conf \
sprunge.us.conf \
tinypaste.com.conf
67 changes: 67 additions & 0 deletions geniuspaste/data/fpaste.org.conf
@@ -0,0 +1,67 @@
[pastebin]
name=fpaste.org
url=http://fpaste.org/

[format]
paste_data=%contents%
paste_lang=%language%
api_submit=true
mode=xml

# Optional stuff

paste_user=%author%
# expiration in seconds
#paste_expire=0

[parse]
search=<id>(.+?)</id>
replace=http://fpaste.org/\1

# map GeanyFileType=PastebinFileType
[languages]
# map for GeSHi 2015-01-14
ActionScript=Actionscript
Ada=ADA
ASM=ASM
C=C
C#=C#
C++=C++
COBOL=COBOL
Conf=INI
CSS=CSS
CUDA=C
Cython=Python
D=D
Diff=Diff
Docbook=XML
F77=Fortran
Fortran=Fortran
FreeBasic=FreeBasic
GLSL=C
Haskell=Haskell
HTML=HTML
Java=Java
Javascript=Javascript
JSON=Javascript
LaTeX=LaTeX
Lisp=Lisp
Lua=Lua
Make=Make
NSIS=NSIS
Objective-C=Objective-C
Pascal=Pascal
Perl=Perl
PHP=PHP
Po=GetText
PowerShell=PowerShell
Prolog=Prolog
Python=Python
Ruby=Ruby
Scala=Scala
Sh=Bash
SQL=SQL
Tcl=TCL
Verilog=Verilog
VHDL=VHDL
XML=XML

0 comments on commit a7bf3a7

Please sign in to comment.