pastebinit.xml for pastebin.com
thufir
hawat.thufir at gmail.com
Wed Jan 28 16:07:43 UTC 2015
On Tue, 27 Jan 2015 11:44:00 +0000, Colin Law wrote:
> On 27 January 2015 at 08:05, thufir <hawat.thufir at gmail.com> wrote:
>>
>> <pastebin>http://www.pastebin.com</pastebin>
>
> Does it work with http://pastebin.com ?
>
> Colin
Nope:
thufir at dur:~$
thufir at dur:~$
thufir at dur:~$ cat .pastebinit.xml
<pastebinit>
<pastebin>http://paste.ubuntu.com</pastebin>
<author>thufir</author>
<format>text</format>
</pastebinit>
thufir at dur:~$
thufir at dur:~$ cat NetBeansProjects/WebApplication/src/java/net/bounceme/
dur/servlets/Controller.java | pastebinit
http://paste.ubuntu.com/9919518/
thufir at dur:~$
thufir at dur:~$ nano .pastebinit.xml
thufir at dur:~$
thufir at dur:~$ cat NetBeansProjects/WebApplication/src/java/net/bounceme/
dur/servlets/Controller.java | pastebinit
Bad API request, invalid api_dev_key
thufir at dur:~$
thufir at dur:~$ cat .pastebinit.xml
<pastebinit>
<pastebin>http://www.pastebin.com</pastebin>
<author>thufir</author>
<format>text</format>
</pastebinit>
thufir at dur:~$
thufir at dur:~$ nano .pastebinit.xml
thufir at dur:~$
thufir at dur:~$ cat .pastebinit.xml
<pastebinit>
<pastebin>http://pastebin.com</pastebin>
<author>thufir</author>
<format>text</format>
</pastebinit>
thufir at dur:~$
thufir at dur:~$ cat NetBeansProjects/WebApplication/src/java/net/bounceme/
dur/servlets/Controller.java | pastebinit
Bad API request, invalid api_dev_key
thufir at dur:~$
thufir at dur:~$
I think it doesn't work with pastebin.com since their new API with devel
key. I only very briefly googled. See also:
http://stackoverflow.com/questions/6004331/pastebin-api-bug-not-allowing-
simple-post
for the same error message, but not specific to pastebinit.
thanks,
Thufir
More information about the ubuntu-users
mailing list