Re: PGXN buttons / logos and RSS

0 views
Skip to first unread message

David E. Wheeler

unread,
Nov 7, 2011, 2:24:25 PM11/7/11
to Tomas Vondra, pgxn-...@googlegroups.com
On Nov 6, 2011, at 7:34 PM, Tomas Vondra wrote:

> are there any buttons with PGXN logo (something like 'available on pgxn'
> or 'my distributions on pgxh') that I could place on my website?
> Something like the 'powered by PostgreSQL" buttons available at pgfoundry.

No, but it'd be awesome to have one. Anyone have the tuits to create one? I can get original art work and post it on GitHub later today.

> And what about a RSS feed with recent distributions? I'd like to follow
> that and maybe display that on my site too.

No, though it's on my list. There *is* a JSON file for it, though. The URL is http://$mirror/stats/dist.json. Sample: http://api.pgxn.org/stats/dist.json. This is the file that http://pgxn.org/recent/ uses. You should be able to use JSONP from the api.pgxn.org server to tweak it how you like. Details:

https://github.com/pgxn/pgxn-api/wiki/JSONP

I use the user JSON file to list my releases on my blog. See the "PGXN Code" sidebar in the right column of http://justatheory.com/. The code that powers it is pretty simple:

<div class="links">
<h2>PGXN Code</h2>
<script type="text/javascript">
function pgxn_distros(data) {
document.write('<dl>');
for (dist in data.releases) {
document.write(
'<dt><a href=http://pgxn.org/dist/' + dist +
'>' + dist + '</a></dt>' +
'<dd>' + data.releases[dist].abstract + '</dd>'
);
}
document.write('</dl>');
}
</script>
<script type="text/javascript"
src="http://api.pgxn.org/user/theory.json?callback=pgxn_distros">
</script>
</div>

Best,

David

David E. Wheeler

unread,
Nov 8, 2011, 12:03:35 AM11/8/11
to pgxn-...@googlegroups.com, Tomas Vondra
On Nov 7, 2011, at 11:24 AM, David E. Wheeler wrote:

>> are there any buttons with PGXN logo (something like 'available on pgxn'
>> or 'my distributions on pgxh') that I could place on my website?
>> Something like the 'powered by PostgreSQL" buttons available at pgfoundry.
>
> No, but it'd be awesome to have one. Anyone have the tuits to create one? I can get original art work and post it on GitHub later today.

I knew I'd done it already, just had to find it. It's on the old site, here:

http://fundraising.pgxn.org/art/

I'll copy this to the new site, too. So, anyone think they can make a badge like Tomas wants? I assume he's referring to these from pgFoundry:

http://pgfoundry.org/docman/?group_id=1000089

Best,

David

Tomas Vondra

unread,
Nov 8, 2011, 1:15:21 PM11/8/11
to pgxn-...@googlegroups.com
Dne 8.11.2011 06:03, David E. Wheeler napsal(a):

I'm no graphic whiz, but I've prepared 4 simple buttons:

1) generic: http://www.fuzzy.cz/tmp/pgxn-generic.png
2) available on: http://www.fuzzy.cz/tmp/pgxn-available-on.png
3) my dist.: http://www.fuzzy.cz/tmp/pgxn-recently.png
4) recent dist.: http://www.fuzzy.cz/tmp/pgxn-my-distributions.png

Any comments are welcome.

Tomas

David E. Wheeler

unread,
Nov 8, 2011, 1:00:34 PM11/8/11
to pgxn-...@googlegroups.com
On Nov 8, 2011, at 10:15 AM, Tomas Vondra wrote:

> I'm no graphic whiz, but I've prepared 4 simple buttons:
>
> 1) generic: http://www.fuzzy.cz/tmp/pgxn-generic.png
> 2) available on: http://www.fuzzy.cz/tmp/pgxn-available-on.png
> 3) my dist.: http://www.fuzzy.cz/tmp/pgxn-recently.png
> 4) recent dist.: http://www.fuzzy.cz/tmp/pgxn-my-distributions.png

They look pretty good to me!

I had been kind of assuming you wanted a 80x15 image, too, no? Like these:

http://pgfoundry.org/docman/view.php/1000089/228/button-mini.png
http://i.creativecommons.org/l/by-sa/3.0/80x15.png

Either way, I'll be happy to add these to the art page, where folks can link to them directly if they like. I've created a new version of the art page for the new site, but I'm waiting for the new server to be finished before deploying. May be silly, though.

Thanks,

David

Dickson S. Guedes

unread,
Nov 8, 2011, 1:04:54 PM11/8/11
to pgxn-...@googlegroups.com
2011/11/8 David E. Wheeler <da...@kineticode.com>:

> On Nov 8, 2011, at 10:15 AM, Tomas Vondra wrote:
>> I'm no graphic whiz, but I've prepared 4 simple buttons:
>>
>>  1) generic: http://www.fuzzy.cz/tmp/pgxn-generic.png
>>  2) available on: http://www.fuzzy.cz/tmp/pgxn-available-on.png
>>  3) my dist.: http://www.fuzzy.cz/tmp/pgxn-recently.png
>>  4) recent dist.: http://www.fuzzy.cz/tmp/pgxn-my-distributions.png
>
> They look pretty good to me!

+1.

--
Dickson S. Guedes
e-mail/gtalk: gue...@guedesof.net  - skype: guediz
http://github.com/guedes - http://www.postgresql.org.br

David E. Wheeler

unread,
Nov 8, 2011, 1:07:52 PM11/8/11
to pgxn-...@googlegroups.com
On Nov 8, 2011, at 10:00 AM, David E. Wheeler wrote:

> I had been kind of assuming you wanted a 80x15 image, too, no? Like these:
>
> http://pgfoundry.org/docman/view.php/1000089/228/button-mini.png
> http://i.creativecommons.org/l/by-sa/3.0/80x15.png

BTW, I think most such icons use Silkscreen font.

http://kottke.org/plus/type/silkscreen/

Best,

David

David E. Wheeler

unread,
Nov 27, 2011, 6:41:37 PM11/27/11
to pgxn-...@googlegroups.com
On Nov 8, 2011, at 10:04 AM, Dickson S. Guedes wrote:

>>> I'm no graphic whiz, but I've prepared 4 simple buttons:
>>>
>>> 1) generic: http://www.fuzzy.cz/tmp/pgxn-generic.png
>>> 2) available on: http://www.fuzzy.cz/tmp/pgxn-available-on.png
>>> 3) my dist.: http://www.fuzzy.cz/tmp/pgxn-recently.png
>>> 4) recent dist.: http://www.fuzzy.cz/tmp/pgxn-my-distributions.png
>>
>> They look pretty good to me!
>
> +1.

Heya, anyone know where these went? I was going to add them to the style guide.

Thanks,

David

Tomas Vondra

unread,
Nov 27, 2011, 7:50:43 PM11/27/11
to pgxn-...@googlegroups.com

I've accidentaly deleted them. I've put them back and I've added

http://www.fuzzy.cz/tmp/pgxn.xcf

which is the source file for GIMP. But you'll need the fonts to make it
work properly.

Anyway I'm not a designer or something, so I'm not sure those buttons
are worth putting to the style guide.

Tomas

Reply all
Reply to author
Forward
0 new messages