Can't specify a font for each tag in xml file

10 years ago

I am trying to make a word cloud where I can specify a font for each tag in the cloud. I was able to get this xml file to load without errors. All settings appear to load correctly except I can't get any font listed on the Tagul website to load where the font is listed on the "list of tags" tab. No matter what font I try to load it show Random. I have pasted my xml file below:

<tags>
<tag angle="0" color="cea5e4" font="BPreplay Regular" url="http://www.bethyl.com/aspx/search.aspx?key=search_default&search_keyword=Huntingtin&action=results" weight="1953">Huntingtin</tag>
<tag angle="90" color="781d7d" font="BPreplay Regular" url="http://www.bethyl.com/aspx/search.aspx?key=search_default&search_keyword=Caspase-3&action=results" weight="1728">Caspase-3</tag>
<tag angle="0" color="cea5e4" font="BPreplay Italic" url="http://www.bethyl.com/aspx/search.aspx?key=search_default&search_keyword=COMT&action=results" weight="988">COMT</tag>
<tag angle="90" color="781d7d" font="BPreplay Bold" url="http://www.bethyl.com/aspx/search.aspx?key=search_default&search_keyword=p53&action=results" weight="656">p53</tag>
<tag angle="0" color="b0b1b3" font="BPreplay Bold Italic" url="http://www.bethyl.com/aspx/search.aspx?key=search_default&search_keyword=AKT1&action=results" weight="581">AKT1</tag>
<tag angle="90" color="9016b2" font="Breip Medium" url="http://www.bethyl.com/aspx/search.aspx?key=search_default&search_keyword=NOTCH&action=results" weight="553">NOTCH</tag>
<tag angle="0" color="9016b2" font="Mail Ray Stuff Regular" url="http://www.bethyl.com/aspx/search.aspx?key=search_default&search_keyword=COX-2&action=results" weight="476">COX-2</tag>
<tag angle="90" color="b31b34" font="Mail Ray Stuff Regular" url="http://www.bethyl.com/aspx/search.aspx?key=search_default&search_keyword=Bcl-2&action=results" weight="408">Bcl-2</tag>
<tag angle="0" color="b31b34" font="Mail Ray Stuff Regular" url="http://www.bethyl.com/aspx/search.aspx?key=search_default&search_keyword=CREB&action=results" weight="342">CREB</tag>
<tag angle="90" color="b0b1b3" font="Duality Regular" url="http://www.bethyl.com/aspx/search.aspx?key=search_default&search_keyword=Beta-catenin&action=results" weight="281">Beta-catenin</tag>
<tag angle="0" color="b0b1b3" font="Goudy Bookletter 1911 Regular" url="http://www.bethyl.com/aspx/search.aspx?key=search_default&search_keyword=mTOR&action=results" weight="280">mTOR</tag>
<tag angle="90" color="781d7d" font="Mail Ray Stuff Regular" url="http://www.bethyl.com/aspx/search.aspx?key=search_default&search_keyword=p38-MAPK&action=results" weight="274">p38-MAPK</tag>
<tag angle="0" color="cea5e4" font="Gunplay Regular" url="http://www.bethyl.com/aspx/search.aspx?key=search_default&search_keyword=MTHFR&action=results" weight="261">MTHFR</tag>
<tag angle="90" color="9016b2" font="Heuristica Regular" url="http://www.bethyl.com/aspx/search.aspx?key=search_default&search_keyword=FAS&action=results" weight="244">FAS</tag>
<tag angle="0" color="cea5e4" font="Heuristica Italic" url="http://www.bethyl.com/aspx/search.aspx?key=search_default&search_keyword=ERK1&action=results" weight="230">ERK1</tag>
<tag angle="90" color="b0b1b3" font="Heuristica Bold" url="http://www.bethyl.com/aspx/search.aspx?key=search_default&search_keyword=IDE&action=results" weight="206">IDE</tag>
<tag angle="0" color="cea5e4" font="Mail Ray Stuff Regular" url="http://www.bethyl.com/aspx/search.aspx?key=search_default&search_keyword=HO-1&action=results" weight="180">HO-1</tag>
<tag angle="90" color="9016b2" font="League Gothic Regular" url="http://www.bethyl.com/aspx/search.aspx?key=search_default&search_keyword=TSC1&action=results" weight="145">TSC1</tag>
<tag angle="0" color="b0b1b3" font="Mail Ray Stuff Regular" url="http://www.bethyl.com/aspx/search.aspx?key=search_default&search_keyword=Dysbindin-1&action=results" weight="138">Dysbindin-1</tag>
<tag angle="90" color="b31b34" font="Linux Libertine Regular" url="http://www.bethyl.com/aspx/search.aspx?key=search_default&search_keyword=ErbB4&action=results" weight="124">ErbB4</tag>
<tag angle="0" color="b0b1b3" font="Linux Libertine C Regular" url="http://www.bethyl.com/aspx/search.aspx?key=search_default&search_keyword=MDR1&action=results" weight="120">MDR1</tag>
<tag angle="90" color="9016b2" font="Loved by the King Regular" url="http://www.bethyl.com/aspx/search.aspx?key=search_default&search_keyword=Sp1&action=results" weight="114">Sp1</tag>
<tag angle="0" color="cea5e4" font="Mail Ray Stuff Regular" url="http://www.bethyl.com/aspx/search.aspx?key=search_default&search_keyword=PIN1&action=results" weight="109">PIN1</tag>
<tag angle="90" color="b31b34" font="Mail Ray Stuff Regular" url="http://www.bethyl.com/aspx/search.aspx?key=search_default&search_keyword=GSK3-beta&action=results" weight="105">GSK3-beta</tag>
<tag angle="0" color="9016b2" font="Mail Ray Stuff Regular" url="http://www.bethyl.com/aspx/search.aspx?key=search_default&search_keyword=ER-alpha&action=results" weight="102">ER-alpha</tag>
<tag angle="90" color="b0b1b3" font="Mail Ray Stuff Regular" url="http://www.bethyl.com/aspx/search.aspx?key=search_default&search_keyword=Actin-Cytoskeletal&action=results" weight="90">Actin-Cytoskeletal</tag>
<tag angle="0" color="b0b1b3" font="Mail Ray Stuff Regular" url="http://www.bethyl.com/aspx/search.aspx?key=search_default&search_keyword=GAPDH&action=results" weight="87">GAPDH</tag>
<tag angle="90" color="b0b1b3" font="Teen Regular" url="http://www.bethyl.com/aspx/search.aspx?key=search_default&search_keyword=Atrophin-1&action=results" weight="82">Atrophin-1</tag>
<tag angle="0" color="9016b2" font="Teen bold" url="http://www.bethyl.com/aspx/search.aspx?key=search_default&search_keyword=ICAM-1&action=results" weight="75">ICAM-1</tag>
<tag angle="90" color="9016b2" font="TeX Gyre Bonum Bold" url="http://www.bethyl.com/aspx/search.aspx?key=search_default&search_keyword=E6AP&action=results" weight="70">E6AP</tag>
<tag angle="0" color="6d6e71" font="Linux Libertine C Regular" url="http://www.bethyl.com/aspx/search.aspx?key=search_default&search_keyword=PTEN&action=results" weight="62">PTEN</tag>
</tags>

Any help would be appreciated.

Thanks,

James

10 years ago

Yes, I'm finding that even when I use the drop-down menu in the 'List of Tags' tab to specify a font from the list, it doesn't save that information if I navigate away from the page. I can hit save, go to the My Clouds page, click straight back into that cloud and all of the fonts will be reset to random. The same functionality for colors seems to be working fine.

Please fix, that was really useful!

Thanks,
Melanie

10 years ago

Fixed. BTW the XML format is being deprecated in flavour of more convenient CSV. Please read this FAQ question for more details.

Reply

Sign up or Login to post a reply.