JohnatSkillsloft | a week ago | 2 comments | 2 likes | 218 views
shoji M and michiel like this!
Hi all, a friend of mine is a coder and occassionally uses GROK.ai to help with code (and its still free) - I'm no coder but I thought i'd try it with BluffTitler xml. I took the example from BluffTitler Dynamic content page and asked it to look at the code and change it to random breeds of dogs.
It literaly took 1.5 seconds and it was writing the new code with an explanation of what it had done:
<?xml version="1.0" ?>
<dogbreeds>
<dog>
<name>Labrador</name>
<characteristic>Friendly</characteristic>
</dog>
<dog>
<name>German Shepherd</name>
<characteristic>Loyal</characteristic>
</dog>
<dog>
<name>Golden Retriever</name>
<characteristic>Intelligent</characteristic>
</dog>
<dog>
<name>Bulldog</name>
<characteristic>Calm</characteristic>
</dog>
<dog>
<name>Beagle</name>
<characteristic>Curious</characteristic>
</dog>
<dog>
<name>Poodle</name>
<characteristic>Elegant</characteristic>
</dog>
<dog>
<name>Rottweiler</name>
<characteristic>Protective</characteristic>
</dog>
<dog>
<name>Husky</name>
<characteristic>Energetic</characteristic>
</dog>
<dog>
<name>Dachshund</name>
<characteristic>Playful</characteristic>
</dog>
<dog>
<name>Shiba Inu</name>
<characteristic>Independent</characteristic>
</dog>
</dogbreeds>
I put it in BluffTitler as a text layer as instructed on the help page and it worked! As I say i'm not a coder but might help someone and save some time.. not sure what restrictions there are for xml but its fun trying.
Nice to know Grok can generate XML files!
For those of you who are wondering what this is all about, here's how to do it:
1) Select the XML data on this page (select the text from <?xml version="1.0" ?> to </dogbreeds>)
2) Copy the text (press <Ctrl> c)
3) Open a text editor (like Notepad)
4) Paste the text (press <Ctrl> v)
5) Save as D:\Temp\Dogs.xml (any other location and name will do)
6) Open BluffTitler
7) Choose FILE > New show
8) Choose MEDIA > Change text...
9) Enter this: xml:D:\Temp\Dogs.xml?dogbreeds/dog/name (Change D:\Temp\Dogs.xml to the path of your XML file)
10) Play!
More info here:
michiel, a week ago
Ho seguito passo passo la tua spiegazione, funziona benissimo e chiarisce molte cose. Mille grazie Michiel.
nonnogio, a week ago