Well I am liking it. I had to dust off my AIML knowledge a bit, well what little there was...
For anyone new to Pandorabots; it's very easy to set up your own AIML bot. I already had a couple from a long time back, but started messing around with a basic ALICE bot I had set up for previous experiments.
As per the instructions mentioned in the links above there is a ZIP file of a lot of new AIML that uses the new features. I am not sure if this is a prerequisite or not - perhaps SquareBear can confirm if you *need* to add all this AIML to take advantage of the new features or that you can set about building your own from scratch. For now I just uploaded all the new AIML.
Anyway, once you have your bot set up, you will need to go into the CallMom settings section and choose to "Select your own Pandorabot". Don't forget to choose your server...which will most likely be pandorabots.com unless you have some paid service. And then your BotID which you can find in your Pandorabot control panel (it will be in your bot's URL too btw).
So not so bad really.
At the moment I am playing with picture searches - so that for example I can say to the App "Please show me a cat", and then it should obviously show me some nice cats.
I'll just drop in a couple of patterns. I made a new AIML file for my custom stuff. Both these patterns work, but I prefer the Photobucket one as they have done a better job of designing a mobile version of their site. And if you hadn't guessed this opens things up in your Android browser.
Note this is only me messing around, there are already some nice picture features built in. So you need to be careful what trigger words you choose. For example, Steve has already used a 'DISPLAY *' pattern. My workaround was to add 'PLEASE' in there so it fires my ones.
<!-- to search Flickr -->
<category>
<pattern>PLEASE DISPLAY A *</pattern>
<template>
<oob><url>http://m.flickr.com/search/?q=<star/></url></oob>
</template>
</category>
<!-- to search Photobucket -->
<category>
<pattern>PLEASE SHOW ME A *</pattern>
<template>
<oob><url>http://m.photobucket.com//images/<star/></url></oob>
</template>
</category>
Messing around some more with Flickr...
Suppose you have some photos saved at Flickr and you give them some tags to help identify them.
Well you could use your Flickr ID to just search for photos with those tags only in your photostream...
<category>
<pattern>PLEASE DISPLAY MY *</pattern>
<template>
<oob><url>http://www.flickr.com/search/?w={MyFlickrId}&q=<star/></url></oob>
</template>
</category>
So I just dropped the word MY in there, so it knows only to look in my photos.
You will need to find your ID of course and replace {MyFlickrId} and the curly brackets with it.
So now I have a photo of my aquarium on Flickr and it is tagged appropriately. So now when I say "Please display my aquarium", up comes a page with matching images.
This is not totally great because so far I cannot get this to work with the mobile version of their site, so it uses the big version which is not that great but it's getting there.
Off to see what Photobucket can do now...
Ok now I need SquareBear :D
I am trying this :
<category>
<pattern>PLEASE SHOW ME MY *</pattern>
<template>
Here is your <star/>
<oob><url>http://s799.photobucket.com/home/{myusername}/tag/<star/></url></oob>
</template>
</category>
But for some reason it's not adding the star onto the end of the URL :idiot2:
Google image search is very nice on mobiles, so I decided to tap into that.
Very simple. I choose the word google as a trigger because it seems to recognise that well for me, when spoken.
<category>
<pattern>GOOGLE * IMAGES</pattern>
<template><srai>GOOGLE IMAGE <star/></srai></template>
</category>
<category>
<pattern>GOOGLE * PICTURES</pattern>
<template><srai>GOOGLE IMAGE <star/></srai></template>
</category>
<category>
<pattern>GOOGLE * PHOTOS</pattern>
<template><srai>GOOGLE IMAGE <star/></srai></template>
</category>
<category>
<pattern>GOOGLE IMAGE *</pattern>
<template>
Googling <star/> images.
<oob><url>http://www.google.co.uk/search?q=<star/>&tbm=isch</url></oob>
</template>
</category>
So you say "Google fish images" or some variation and you get a very-nicely-designed-for-mobile set of results thank you very much. 8)
This works really well and is how I would like to get my personal photos to come up. But if you are just wanting any old pictures out there then this does the trick. I seem to have the keyboard up in my screen shot, but I said this to the phone...
(https://aidreams.co.uk/forum/proxy.php?request=http%3A%2F%2Fi799.photobucket.com%2Falbums%2Fyy275%2FRogad%2Fmisc%2FSC20120508-201746.png&hash=7bd909f5e39471a6fa5847b9c12aa16b5e81008f)
(https://aidreams.co.uk/forum/proxy.php?request=http%3A%2F%2Fi799.photobucket.com%2Falbums%2Fyy275%2FRogad%2Fmisc%2FSC20120508-201848.png&hash=9e75f2870fbedec342bc71f51034ed6ae8d7d463)
Thanks for the tip O0
I'm liking the new speech bubbles today :)
(https://aidreams.co.uk/forum/proxy.php?request=http%3A%2F%2Fi799.photobucket.com%2Falbums%2Fyy275%2FRogad%2Fmisc%2FSC20120510-121631.png&hash=c08d1ca1baa8a47d4c54640cad455cc4fffd75df)