The sample code for the Google Client API pages has been updated. It now uses the names of the new Google Client PHP API release and also switched from object – reference to arrays. Finally the source code is available … Continue reading
enarion.net released a widget to display the revenues from Google Adsense in your Geckoboard.
All you have to do is to install the widget code (php-based) on your webserver and add a new custom widget to your Geckoboard widget. Various timespans (including today, yesterday, current month, last month) and values (e.g. ecpm, earnings and clicks) can be selected. Values are extracted in realtime from the Google Adsense account, providing up to the minute information.
The code is released under the GPL license and can be used and modified without charge.
Further information and the download can be found at http://enarion.net/tools/geckoboard-adsense-widget/.
You can create, run and share dashboards showing various key / performance values using the webservice Geckoboard. The setup is easy, there are many predefined widgets for various web services including Google Analytics, ZenDesktop, Mailchimp and various more.
Providing open source tools and development knowledge to the public is the aim of enarion.net. It was founded by Tobias Kluge as home of phpSitemapNG years ago, a tool to generate Google sitemaps.
As you may have realized, enarion.net got a little facelifting. Finally the website runs with WordPress and got a new, cleaner layout.
The content is mostly migrated, only the German and partially Portuguese has been removed. All tools and libraries got a specific section. The content regarding phpSitemapNG has been trimmed.
What do you think about it?
Introduction to html-based Skype interaction
When the user has installed Skype, one can open Skype directly from a webpage. The protocol is skype:skypename – and optional flags.
The example will use the chinese demo user of Skype (echo-chinese) – which will record a call and play it back or ping back the typed in chat messages.
Call a skype user
The optional flag is call – to force Skype to call somebody. It can also be left out – but if the user changed the default behaviour to e.g. chat – Skype will open an IM session instead. So – go the save way and use the call – flag.
Example: call a Skype user
call echo-chinese with Skype
<a href="skype:echo-chinese?call">call echo-chinese with Skype</a>
Send an Skype IM message to a Skype user
The optional flag is chat. See the example below to see the usage in a html page.
Example: send a chat message to a Skype user
<a href="skype:echo-chinese?chat">Chat with echo-chinese</a>
Send a voicemail to a Skype user
The optional flag is voicemail – as you might have guessed.
Example: send a voicemail to Skype user
<a href="skype:echo-chinese?voicemail">Send voicemail to echo-chinese</a>
Create a Skype conference call with multiple users
This is as easy as the examples above – just more usernames before the “?” and call as flag.
Example: create a Skype conference call
<a href="skype:echo-chinese;echo123?call">conference call with echo-chinese and echo123</a>
Create a conference chat with multiple users
Same as conference call – with chat as flag.
Example: open a conference chat with multiple users – in html
conference chat with echo-chinese and echo123
Introduction and premise
If you’re using ActiveS to control Skype, it’s easy. If not, you should check if you can migrate to ActiveS – which is really recommended! ActiveS is a nice .NET library that supports most of the Skype API – for free (BSD licence – you can even use it for commercial applications).
Skype supports video calls since Skype version 2.0.
Example – doing a Skype video call
With ActiveS it’s easy: you do just a normal call and than switch on the video support:
This example assume’s that m_objAccess is an instance of the SKYPEAPILib.AccessClass which is the ActiveX stub that connects .NET to Skype. skypeId is a string containing the username of the skype user you’re calling. The next to lines enable the sending of video messages (START_VIDEO_SEND) and the receiving of video messages (START_VIDEO_RECEIVE).
Call call = this.m_objAccess.PlaceCall(skypeId); m_objAccess.SendCommand("ALTER CALL " + call.ID + " START_VIDEO_SEND"); m_objAccess.SendCommand("ALTER CALL " + call.ID + " START_VIDEO_RECEIVE");
You can find more information about the video support at the description of the updated Skype protocol – video section
Skype video calls and conference conversations
The Skype conference calls doesn’t support video conversations. Even the Skype window doesn’t support it, the API seems to behave the same.
You can try to do a conference call and than switch on the video support – but it still doesn’t work. So maybe Skype checks the network load and the usage of the video calls – and then maybe enables the conference calls or makes it a payed service. But – nobody knows execept the Skype developer, we’ll see.