Front Page

Life | The Universe | Everything | Advanced Search
 
Front PageReadTalkContributeHelp!FeedbackWho is Online

or register to join or start a new conversation.

 
4. All About h2g2 / All About h2g2 / h2g2 Information / GuideML, the Markup Language of the Guide
4. All About h2g2 / All About h2g2 / h2g2 Information / Help and Frequently Asked Questions

h2g2 FAQ: GuideML

PLEASE NOTE: This page is now out-of-date and had been replaced. For up-to-date information please see the latest H2G2 FAQs.

Index | About h2g2 | Registering | Exploring | Preferences | Personal Space | Conversations | Guide Entries | Journal | Contributing | Moderation | Editorial Process | Review Forums | Technical | GuideML | Cool Things | Legal | Miscellaneous


Welcome to the 'GuideML' section of the h2g2 FAQ. This is where you can find information about GuideML, the markup language of the Guide.

If you want to see a complete list of questions answered by the h2g2 FAQ, you can go to the h2g2 FAQ Index at any time.


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 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 entry, 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]
[Back to the main h2g2 FAQ Index]


How do I create an entry in GuideML?

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

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

In Brunel only, GuideML entries come with a handy JavaScript-powered set of buttons for entering common GuideML tags. These work differently depending on which browser you use. Internet Explorer 5 and onwards are the most sophisticated, and will insert the relevant tags either round the selection, or at the caret; other browsers simply insert the tags at the end of the text area; and browsers that don't support JavaScript, or which have it turned off, will not support these buttons.

[Back to top of section]
[Back to the main h2g2 FAQ Index]


How do I put pictures in my GuideML entries?

You can include pictures in GuideML entries by using the <PICTURE> tag.

If you want to use a picture from h2g2's own collection, then you should use the <PICTURE BLOB> version of the tag. You can find a large collection of graphics for your own use here, along with the GuideML you need to use the pictures in your entries.

[Back to top of section]
[Back to the main h2g2 FAQ Index]


Can I upload pictures to h2g2?

Currently you can't upload pictures to h2g2, 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]
[Back to the main h2g2 FAQ Index]


What's 'Approved GuideML'?

Approved GuideML is a specific subset of GuideML that's allowed into the Edited Guide. It's fine for Researchers to use all sorts of flashy and groovy markup tags on their pages, but the Editors have picked a subset that allows them to maintain a grip on the quality in the Edited Guide. Flashing text might be great for fans of psychedelia, but not in the edited section of the Guide. Furthermore, some GuideML tags, like <BOX>, have been 'deprecated' from the Edited Guide, but are still supported by the system; we'll just remove them from entries as they go through the editing system, but feel free to use them in entries that you don't intend to submit to the Peer Review system.

The GuideML Clinic lists the tags that we will allow through our editing process (when used correctly, of course), and the entry on Using Approved GuideML in the Edited Guide explains how to use them in the Edited Guide. If you're looking to write entries for consideration in the Peer Review system, then stick to these tags and these tags only to improve your chances of having something accepted into the Edited Guide.

[Back to top of section]
[Back to the main h2g2 FAQ Index]


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

The GuideML parser is the software that takes everything that you enter into Guide Entries, 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.

[Back to top of section]
[Back to the main h2g2 FAQ Index]


Can I include JavaScript in my GuideML entries?

No, you cannot include JavaScript in your entries.

[Back to top of section]
[Back to the main h2g2 FAQ Index]


Can I include HTML in my GuideML entries?

You can include most HTML tags in your GuideML entries, as long as they follow the GuideML syntax rules. For example, to include a horizontal rule in your entries 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]
[Back to the main h2g2 FAQ Index]


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 Guide Entry 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]
[Back to the main h2g2 FAQ Index]


My entry/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]
[Back to the main h2g2 FAQ Index]



Discuss this Entry  People have been talking about this Guide Entry. Here are the most recent Conversations:

Help putting a link to external HTTP into guide entry...
(Last Posting: Jul 11, 2006)

Entry Not Appearing
(Last Posting: Feb 28, 2006)

Picture Rotation
(Last Posting: Aug 25, 2005)

snails
(Last Posting: May 13, 2005)

Multiple researchers for one entry
(Last Posting: Mar 21, 2005)

Justify
(Last Posting: Apr 12, 2006)

My own pictures
(Last Posting: Feb 26, 2006)

Hey, a little HEEEELLLLPPPP here??!??i?
(Last Posting: Jul 2, 2005)

Why is it?
(Last Posting: Apr 25, 2005)

What About VBScript?
(Last Posting: Feb 9, 2004)




Add your Opinion!

There are tens of thousands of h2g2 Guide Entries, written by our Researchers. If you want to be able to add your own opinions to the Guide, simply become a member as an h2g2 Researcher. Tell me More!

 
Entry Data
Entry ID: A187355 (Help Page)

Written and Researched by:
Bruce

Edited by:
The H2G2 Editors


Date: 11   October   1999


Text only
Like this page?
Send it to a friend


Referenced Guide Entries
h2g2 FAQs Index


 


Front PageReadTalkContributeHelp!FeedbackWho is Online

Please note that Not Panicking Ltd is not responsible for the content of any external sites listed. The content on h2g2 is created by h2g2's Researchers, who are members of the public. Unlike Edited Guide Entries, the content on this page has not necessarily been checked by a h2g2 editor. In the event that you consider anything on this page to be in breach of the site's House Rules, please click here .


About | Help | Terms of Use