element.style.fill = 'red'
.) for te SVG style, and (window.location='contact.svg'
) for the action.Thanks for your help but this looks way above my skills. Could you be
kind enough to detail how we can use the Inkscape graphics without text
and generate those 102 images with the script?
Note as well that different languages have different positioning of
things, but I guess we can have 2/3 master templates and then just ask
for translations.
Thanks.
Fred
> <pockey@softwarefreedomday.org <mailto:pockey@softwarefreedomday.org>>
On 07/16/2013 05:06 PM, Alexandro Colorado wrote:
> This is a small snippet of code with SVG and strings. Of course doing a
> php echo (or python print) would be enough to put a dynamic date string
> instead of a static text. Go to the <text> node.
>
> <!DOCTYPE html>
> <html>
> <body>
>
> <svg xmlns="http://www.w3.org/2000/svg" version="1.1">
> <defs>
> <filter id="test" filterUnits="objectBoundingBox" x="0" y="0"
> width="1.5" height="4">
> <feOffset result="Off1" dx="15" dy="20" />
> <feFlood style="flood-color:#ff0000;flood-opacity:0.8" />
> <feComposite in2="Off1" operator="in" result="C1" />
> <feOffset in="SourceGraphic" result="Off2" dx="30" dy="40" />
> <feFlood style="flood-color:#ff0000;flood-opacity:0.4" />
> <feComposite in2="Off2" operator="in" result="C2" />
> <feMerge>
> <feMergeNode in="C2" />
> <feMergeNode in="C1" />
> <feMergeNode in="SourceGraphic" />
> </feMerge>
> </filter>
> </defs>
> <text x="30" y="100" style="font:16px verdana
> bold;fill:blue;filter:url(#test)">Software Freedom Day</text>
> </svg>
>
> </body>
> </html>
>
>
> On Tue, Jul 16, 2013 at 12:12 AM, Pockey Lam
> wrote:
>
>
> On 07/16/2013 05:43 AM, Alexandro Colorado wrote:
>> last year I recommend using a simple script in Javascript and SVG.
>> This will allow to make one simple function and deliver on every
>> language by just having an array of dialogs.
> Hi Alexandro,
>
> Thanks for your email! I remember we did look into the solution last
> year however we had some problems to write the javascript it may due
> to lack of technical knowledge. If you can help us to write this
> simple script that would be great :)
>
> Thanks!
> Pockey
>
>
>
>>
>>
>> On Mon, Jul 15, 2013 at 6:45 AM, Frederic Muller - DFF
>> <fred@digitalfreedomfoundation.org
>> <mailto:fred@digitalfreedomfoundation.org>> wrote:>> > <mailto:fred@digitalfreedomfoundation.org
>>
>> Excellent! Thanks a lot, that was fast!
>>
>> Fred
>>
>> On 07/15/2013 06:36 PM, Konfrare Albert wrote:
>> > Hi Fred!
>> >
>> > I have added the four files for the Catalan countdown for
>> this year. The
>> > Catalan countdown banner it's working properly now!
>> >
>> > Thanks!
>> >
>> > ALBERT
>> >
>> >
>> > 2013/7/15 Frederic Muller - DFF
>> <fred@digitalfreedomfoundation.org
>> <mailto:fred@digitalfreedomfoundation.org>
>> <mailto:SFD-discuss@sf-day.org <mailto:SFD-discuss@sf-day.org>>>> <mailto:fred@digitalfreedomfoundation.org>>>
>> >
>> > Actually the Catalan countdown also has a date on 01.png
>> and 02.png.
>> > Those 2 files also need to be redone.
>> >
>> > Thanks.
>> >
>> > Fred
>> >
>> > On 15/07/13 16:42, Frederic Muller - DFF wrote:
>> > > Hi!
>> > >
>> > > The countdown is ready. In fact there was a little bug
>> in the website
>> > > javascript which added a month to the displayed
>> countdown which is why
>> > > we haven't launched it earlier.
>> > >
>> > > English is fully ready and all the following languages
>> can be used
>> > right
>> > > now. However someone will need to redo 00.png and
>> 00here.png as
>> > the SFD
>> > > date is written on the image file:
>> > > Catalan
>> > > French
>> > > German
>> > > Portuguese
>> > > Estonian
>> > > Chinese Simplified
>> > > Persian
>> > > Arabic
>> > > Greek
>> > >
>> > > For Persian on top of doing those 2 image files
>> someone who speaks the
>> > > language also need to ensure the alt text on the wiki
>> page is
>> > correct. I
>> > > couldn't find the event date, so maybe it's not
>> written at all, or
>> > maybe
>> > > it's simply not readable in English.
>> > >
>> > > And then for the next following languages on top of
>> the 2 image files
>> > > which need to be redone, days files from today (68)
>> onward are simply
>> > > missing. If you want a countdown now you'll need to
>> generate them
>> > so we
>> > > can activate the countdown.
>> > >
>> > > Else usage is the same as the previous year and
>> describe here:
>> > > http://wiki.softwarefreedomday.org/CountDown
>> > >
>> > > Any question please let us know.
>> > >
>> > > Thanks and enjoy!
>> > >
>> > > Fred
>> > >
>> >
>> >
>> > _______________________________________________
>> > SFD-discuss mailing list
>> > SFD-discuss@sf-day.org <mailto:SFD-discuss@sf-day.org>
>> > http://mail.sf-day.org/lists/listinfo/sfd-discuss>> > SFD-discuss@sf-day.org <mailto:SFD-discuss@sf-day.org>
>> >
>> >
>> >
>> >
>> > --
>> > *KONFRARE ALBERT*
>> > La Konfraria de la Vila del Pingüí
>> > de La Palma de Cervelló
>> > www.konfraria.org <http://www.konfraria.org>
>> <http://www.konfraria.org> • @La_Konfraria
>> > <http://twitter.com/La_Konfraria>
>> >
>> >
>> >
>> >
>> > _______________________________________________
>> > SFD-discuss mailing list
>> > http://mail.sf-day.org/lists/listinfo/sfd-discuss
>> >
>>
>>
>> _______________________________________________
>> SFD-discuss mailing list
>> SFD-discuss@sf-day.org <mailto:SFD-discuss@sf-day.org>
>> http://mail.sf-day.org/lists/listinfo/sfd-discuss
>>
>>
>>
>>
>> --
>> Alexandro Colorado
>> Apache OpenOffice Contributor
>> http://www.openoffice.org
>>
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> SFD-discuss mailing list
>> SFD-discuss@sf-day.org <mailto:SFD-discuss@sf-day.org>
>> http://mail.sf-day.org/lists/listinfo/sfd-discuss
>
>
>
>
> --
> Alexandro Colorado
> Apache OpenOffice Contributor
> http://www.openoffice.org
>
>
>
>
>
>
>
>
> _______________________________________________
> SFD-discuss mailing list
> SFD-discuss@sf-day.org
> http://mail.sf-day.org/lists/listinfo/sfd-discuss
>
_______________________________________________
SFD-discuss mailing list
SFD-discuss@sf-day.org
http://mail.sf-day.org/lists/listinfo/sfd-discuss