Font weight

14 years ago

I have made a cloud called Media Studies Terminology using API and individual urls - but I can't change the weight of the font or the url for the title from Tagul.com although I could do this in my test one called Movies - also a couple of times I have had the message "Invalid XML. Line 11 Extra content at the end of document". I have looked at all the code and I can't see the problem but then I am a real amateur at this. This is a really useful tool. I have put my cloud up as it is at the moment - because my students are about to take their exam - and it is useable - it just doesn't look great and the title will point them here rather than to a terminology site. Any advice welcome.

14 years ago

Hello,

you can send me API xml that throws the error. I'll check what is wrong with it.

14 years ago

Hi,

I didn't realise how long I had been away - I think I sort of solved it but I am trying again and it is happening again so I am pasting the code here for you to check. It is a great facility - well worth persevering.

<tags>
<tag angle="0"
color="3488BF"
font="Linux Libertine Regular"
url="http://tagul.com"
weight="130">Tagul</tag>
<tag url="http://google.com/search?q=money" weight="18"> collocation </tag>
<tag url="http://google.com/search?q=cloud" weight="7"> oxymoron</tag>
<tag url="http://google.com/search?q=html" weight="23"> simile </tag>
<tag url="http://google.com/search?q=web" weight="21"> hyperbole
</tag>
<tag url="http://google.com/search?q=tag" weight="12"> elision </tag>
<tag url="http://google.com/search?q=cloud" weight="7"> homophone</tag>
<tag url="http://google.com/search?q=html" weight="23"> neologism</tag>
<tag url="http://google.com/search?q=web" weight="21">idiom </tag>
<tag url="http://google.com/search?q=cloud" weight="7">modal</tag>
<tag url="http://google.com/search?q=html" weight="23">rhetoric</tag>
<tag url="http://google.com/search?q=web" weight="21"> onomatopoeia</tag>
</tags><tag url="http://google.com/search?q=cloud" weight="7"> premodifier</tag>
<tag url="http://google.com/search?q=html" weight="23">traductio</tag>
<tag url="http://google.com/search?q=web" weight="21"> colloquial
</tag>
<tag url="http://google.com/search?q=cloud" weight="7"> parallelism</tag>
<tag url="http://google.com/search?q=html" weight="23"> vernacular</tag>
<tag url="http://google.com/search?q=web" weight="21">w metaphor</tag>
</tags>
<tag url="http://google.com/search?q=cloud" weight="7"> tautology </tag>
<tag url="http://google.com/search?q=html" weight="23"> imperative </tag>
<tag url="http://google.com/search?q=web" weight="21"> declarative</tag>
<tag url="http://google.com/search?q=cloud" weight="7"> litotes </tag>
<tag url="http://google.com/search?q=html" weight="23"> determiner </tag>
<tag url="http://google.com/search?q=web" weight="21"> ellipsis</tag>
</tags>
<tag url="http://google.com/search?q=cloud" weight="7"> epizeuxis </tag>
<tag url="http://google.com/search?q=html" weight="23"> framework</tag>
<tag url="http://google.com/search?q=web" weight="21"> archaic</tag>
<tag url="http://google.com/search?q=cloud" weight="7"> homonym</tag>
<tag url="http://google.com/search?q=html" weight="23">prefix </tag>
<tag url="http://google.com/search?q=web" weight="21"> register</tag>
<tag url="http://google.com/search?q=cloud" weight="7"> syntax</tag>
<tag url="http://google.com/search?q=html" weight="23"> audience</tag>
<tag url="http://google.com/search?q=web" weight="21"> suffix </tag>
<tag url="http://google.com/search?q=cloud" weight="7">c synonym </tag>
<tag url="http://google.com/search?q=html" weight="23"> lexis </tag>
<tag url="http://google.com/search?q=web" weight="21"> purpose </tag>
<tag url="http://google.com/search?q=cloud" weight="7"> superlative </tag>
<tag url="http://google.com/search?q=html" weight="23"> postmodifier</tag>
<tag url="http://google.com/search?q=web" weight="21"> tone</tag>
<tag url="http://google.com/search?q=cloud" weight="7"> manner</tag>
<tag url="http://google.com/search?q=html" weight="23">prosodics</tag>
</tags>

14 years ago

Your xml is malformed. I've deleted redundant "</tags>" substrings. Here is the correct xml:

<tags>
<tag angle="0"
color="3488BF"
font="Linux Libertine Regular"
url="http://tagul.com"
weight="130">Tagul</tag>
<tag url="http://google.com/search?q=money" weight="18"> collocation </tag>
<tag url="http://google.com/search?q=cloud" weight="7"> oxymoron</tag>
<tag url="http://google.com/search?q=html" weight="23"> simile </tag>
<tag url="http://google.com/search?q=web" weight="21"> hyperbole</tag>
<tag url="http://google.com/search?q=tag" weight="12"> elision </tag>
<tag url="http://google.com/search?q=cloud" weight="7"> homophone</tag>
<tag url="http://google.com/search?q=html" weight="23"> neologism</tag>
<tag url="http://google.com/search?q=web" weight="21">idiom </tag>
<tag url="http://google.com/search?q=cloud" weight="7">modal</tag>
<tag url="http://google.com/search?q=html" weight="23">rhetoric</tag>
<tag url="http://google.com/search?q=web" weight="21"> onomatopoeia</tag>
<tag url="http://google.com/search?q=cloud" weight="7"> premodifier</tag>
<tag url="http://google.com/search?q=html" weight="23">traductio</tag>
<tag url="http://google.com/search?q=web" weight="21"> colloquial</tag>
<tag url="http://google.com/search?q=cloud" weight="7"> parallelism</tag>
<tag url="http://google.com/search?q=html" weight="23"> vernacular</tag>
<tag url="http://google.com/search?q=web" weight="21">w metaphor</tag>
<tag url="http://google.com/search?q=cloud" weight="7"> tautology </tag>
<tag url="http://google.com/search?q=html" weight="23"> imperative </tag>
<tag url="http://google.com/search?q=web" weight="21"> declarative</tag>
<tag url="http://google.com/search?q=cloud" weight="7"> litotes </tag>
<tag url="http://google.com/search?q=html" weight="23"> determiner </tag>
<tag url="http://google.com/search?q=web" weight="21"> ellipsis</tag>
<tag url="http://google.com/search?q=cloud" weight="7"> epizeuxis </tag>
<tag url="http://google.com/search?q=html" weight="23"> framework</tag>
<tag url="http://google.com/search?q=web" weight="21"> archaic</tag>
<tag url="http://google.com/search?q=cloud" weight="7"> homonym</tag>
<tag url="http://google.com/search?q=html" weight="23">prefix </tag>
<tag url="http://google.com/search?q=web" weight="21"> register</tag>
<tag url="http://google.com/search?q=cloud" weight="7"> syntax</tag>
<tag url="http://google.com/search?q=html" weight="23"> audience</tag>
<tag url="http://google.com/search?q=web" weight="21"> suffix </tag>
<tag url="http://google.com/search?q=cloud" weight="7">c synonym </tag>
<tag url="http://google.com/search?q=html" weight="23"> lexis </tag>
<tag url="http://google.com/search?q=web" weight="21"> purpose </tag>
<tag url="http://google.com/search?q=cloud" weight="7"> superlative </tag>
<tag url="http://google.com/search?q=html" weight="23"> postmodifier</tag>
<tag url="http://google.com/search?q=web" weight="21"> tone</tag>
<tag url="http://google.com/search?q=cloud" weight="7"> manner</tag>
<tag url="http://google.com/search?q=html" weight="23">prosodics</tag>
</tags>

Reply

Sign up or Login to post a reply.