Frogans Awards and daily tips

The OP3FT is holding its 7th Frogans Technology Conference in Paris – and online – on the 14th of June. It’s going to feature “The Frogans Awards,” a contest for the best new Frogans sites on Earth. The deadline for submitting your sites is June 7, 2016 12 p.m. (Paris time) – 10:00 UTC.

In the spirit of this worthy challenge, I’m going to submit, here and on the Frogans Awards Mailing List, a Frogans authoring tip each day through June 6th, the day before the submission deadline.

So, with just ten days left before you submit your Fro-creation…

Frogans Tip for Day -10

Use a naming scheme for “fileid”s, “resid”s and “layerid”s

The production-chain nature of FSDL requires that you create a lot of identifiers in your FSDL document. And each identifier in a document must be different from all of the others.

For example, say you’re going to use an image file called “icon.png.” For showing that image on a Frogans slide you’re going to write a <file> element, a <resimage> element and a <layer> element – and each element will require a unique identifier. Here’s a simple scheme easily managing your identifiers:

  • fileid=’icons_f’
  • resid=’icons_r’
  • layerid=’icons_l’

By always using the character string “icons,” it is easier to trace your layer back to your resource or file, and vice-versa. By using an underscore (_) you can double-click and copy the identifier and paste it into an other element? By using a single letter at the end of the identifier (‘f’ for fileid, ‘r’ for resid, etc.), it’s easy to appropriately rename your identifier for each element.

Check back here tomorrow for the Frogans Tip for Day -9!

 

Be the first to comment

Leave a Reply

Your email address will not be published.


*