GuideML FAQ

0 Conversations

Welcome to the GuideML FAQ. This is where you can find information about GuideML, the markup language of DNA.

Contents of this Section

What is GuideML and how can I find out how to use it?

GuideML is the markup language of the Guide, and you can find out all about how to use it at the DNA GuideML Clinic, where you will also find a list of all the tags that GuideML supports.

In a nutshell, GuideML is a tag-based XML system that enables you to change the look of text in an article, and to change its layout. That's it, really, and if you've ever come across HTML, you'll find it very easy to pick up - indeed, a number of the tags are based on HTML tags in the first place.

We find the easiest way to learn GuideML is to use it, and the GuideML Clinic is a very handy place to check out for tips on usage, known bugs and so on. You might also like to read the Introduction to GuideML.

[Back to top of section]

How do I create an article in GuideML?

When you create an article in the Article Editor, you can choose the type of the article using the three buttons below the article edit box. Simply ensure that the article type is set to GuideML, and that your article is in the right format (in other words it has the right structure for a GuideML article, as described here).

You can convert text articles to GuideML by changing the article type, but please note you still have to ensure the article body is in correctly-structured GuideML; all this conversion does it to add <GUIDE> and <BODY> tags in the right places.

[Back to top of section]

How do I put pictures in my GuideML articles?

You can include pictures in GuideML articles by using the <PICTURE> tag. You can only include pictures that are stored on the relevant DNA site's servers, so you should ask the teams on the individual sites for information on picture availability.

[Back to top of section]

Can I upload pictures to DNA?

Currently you can't upload pictures to DNA, and can't use off-site pictures either. However, at some stage in the future we do hope to offer some kind of image uploading facility.

[Back to top of section]

What's 'Approved GuideML'?

Approved GuideML is a specific subset of GuideML that's allowed into sections of sites that implement an editorial process, such as h2g2's Edited Guide. It's fine for members to use all sorts of flashy and groovy markup tags on their pages, but we've picked a subset that allows Editors to maintain a grip on the quality in their editorialised sections. Flashing text might be great for fans of psychedelia, but not in the edited articles, and non-Approved GuideML will normally be removed during the editorial process.

The GuideML Clinic lists the tags that are allowed through editiorial processes (when used correctly, of course).

[Back to top of section]

What's this 'GuideML parser' I keep hearing about?

The GuideML parser is the software that takes everything that you enter into articles, Conversation Forums or Journals and displays it, in a different way depending on the skin being used. During this process the parser also does some clever things, like turning :-) into a smiley face in Conversation Forums and Journals. It also tries to report any GuideML syntax errors so you can fix them.

You can find out more in the article A787034.

[Back to top of section]

Can I include JavaScript in my GuideML articles?

No, you cannot include JavaScript in your articles.

[Back to top of section]

Can I include HTML in my GuideML articles?

You can include most HTML tags in your GuideML articles, as long as they follow the GuideML syntax rules. For example, to include a horizontal rule in your articles you should use <HR/> instead of <HR>.

The best way to find out whether you can use specific HTML tags in GuideML is to try them out. You can't break anything, after all, and the worst that can happen is that it doesn't work.

[Back to top of section]

Why doesn't the <LINK> tag work properly with URLs that have & in them?

It is illegal to use standalone ampersands anywhere in GuideML (this applies to all XML languages). Instead of the & you should use &amp; - even in URLs in tags like <LINK HREF>.

The Article Editor does its best to trap illegal use of ampersands, but stick to the golden rule: anywhere you want an ampersand, write &amp; and you will get one. This is how XML works, because the ampersand is one of the few reserved characters.

[Back to top of section]

My article/Personal Space has suddenly become wider than my screen. What has happened?

Your browser tries to resize your page to fit its window by wrapping text. However, if you have included a really long word (such as a URL) in your Journal, or a really long title in a header or box title, then you can make it impossible for the site to resize your page.

[Back to top of section]


Bookmark on your Personal Space


Conversations About This Entry

There are no Conversations for this Entry

Entry

A957152

Infinite Improbability Drive

Infinite Improbability Drive

Read a random Edited Entry


Written and Edited by

Disclaimer

h2g2 is created by h2g2's users, who are members of the public. The views expressed are theirs and unless specifically stated are not those of the Not Panicking Ltd. Unlike Edited Entries, Entries have not been checked by an Editor. If you consider any Entry to be in breach of the site's House Rules, please register a complaint. For any other comments, please visit the Feedback page.

Write an Entry

"The Hitchhiker's Guide to the Galaxy is a wholly remarkable book. It has been compiled and recompiled many times and under many different editorships. It contains contributions from countless numbers of travellers and researchers."

Write an entry
Read more