Hi I think Frederic still doesnt understand how SVG+JS works. Think of it as Flash+actionscript. In the end SVG is a file with script that the browser renders as graphics. Alternatively we could use Canvas, but I dont recomend it since there is very few Canvas authoring tools. Users only need to link to the SVG by doing - Embed tag - Object tag - Paste it in the HTML http://www.w3schools.com/svg/svg_inhtml.asp On Thu, Jul 18, 2013 at 2:20 AM, julien forgeat <julienforgeat@gmail.com>wrote:
Good thing with js is that we can probably get the timezone from the browser which makes more sense, but there would still be quite some work to adapt the font size to each language and adapt to non-left to right languages too
Julien
On Thu, Jul 18, 2013 at 2:41 PM, Frederic Muller - DFF < fred@digitalfreedomfoundation.org> wrote:
Hi and thanks for joining the explanations.
Unfortunately asking SFD teams promoters to insert JavaScript into their web pages and select the right time zone seems a bit complicated. We want something that is the easiest possible to insert and live little chance for mistakes. I was actually thinking it was the same scripting idea we tried in the past to combine the SVG and some text files to generate the PNGs.
Now we could definitely have both options available and people chose what works best for them (that doesn't mean I can do options number 2 though).
Fred
Hello All
I think what Alexandro is suggesting is that we create a javascript that people would insert in their webpage along with the background of the countdown, in svg format. Then we would have a <text> in the svg that would be left blank and whose content would be controlled by javascript using getElementByID or something similar.
Julien
On Thu, Jul 18, 2013 at 1:11 PM, Frederic Muller - DFF <fred@digitalfreedomfoundation.org <mailto:fred@digitalfreedomfoundation.org>> wrote:
Answers below. I remove much of the email but the idea I think is more than 1 year old. I remember someone trying with the Inkscape
On 07/18/2013 02:32 PM, julien forgeat wrote: scripting
like 2 years ago at least and we discussed about the issues to
finally
give up. But I think it was just to automate the making of 100+ png images. So apparently I'm still confused about your proposal.
On 07/18/2013 02:51 AM, Alexandro Colorado wrote: > iframe's suck, and I am not sure I understand why would we need an > iframe. The whole point of the proposal is to not end up with 100 images > but one single SVG and a datasource.
Not sure I understood. As I said I will read the links you offered,
it
will just take time.
> > > > > I hope you understand my perspective. I'm just a volunteer with limited > knowledge and a lot of things to do. > > > From my understanding you know far better Javascript than I do (I > assume you did the OpenLayer map), and XML is well... just like HTML in > the end.
That wasn't me. The OSM layer was added by an Italian contributor
(we
asked for someone to help). No one at the SFI board at the time was
able
to do the job...which is why we were using Google maps initially.
As you see we just put the pieces together (while doing was we were
able
to do).
Thanks.
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 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
_______________________________________________ SFD-discuss mailing list SFD-discuss@sf-day.org http://mail.sf-day.org/lists/listinfo/sfd-discuss
-- Alexandro Colorado Apache OpenOffice Contributor http://www.openoffice.org