[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-user: new components



On Tue, Feb 2, 2010 at 12:17 PM, Peter Clifton <pcjc2@xxxxxxxxx> wrote:
> On Tue, 2010-02-02 at 12:09 -0600, Mark Rages wrote:
>> On Tue, Feb 2, 2010 at 12:02 PM, Peter Clifton <pcjc2@xxxxxxxxx> wrote:
>> >
>> > You might consider modifying your CGI to return the mime-type:
>> >
>> > application/x-geda-symbol
>> >
>> > That should make it show up with an icon when offering a download on a
>> > gEDA installed system, (and possibly) open directly in gschem -
>> > depending on your web-browser.
>> >
>> > Best wishes,
>> >
>> > Peter C.
>> >
>>
>> Done, and it works.  I tested with Chrome on Ubuntu, and it opened the
>> symbol in gschem.
>>
>> I guess there is no mime-type for djboxsym definitions.
>
> no, but one could presumably make one up..
>
> application/x-djboxsym
>
> or something like that.
>
> The only real reason to do so would be if we started shipping icons /
> descriptions for these files. Since djboxsym is a command line utility,
> there would be no point auto-launching it unless someone wrote a GUI
> front-end.

Right.

I'll leave my cgi script as it is.

Regards,
Mark
markrages@gmail
-- 
Mark Rages, Engineer
Midwest Telecine LLC
markrages@xxxxxxxxxxxxxxxxxxx


_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user