Project: How to make a Google Gadget

In my spare time I have been researching what all would be involved to create a Google Gadget.  I have posted my intentions in earlier blog entries but haven’t really had a lot of time to look at doing this.  What is a Google Gadget?  A Google Gadget allows you to place your “feed” onto the iGoogle page of people interested in your content.  The iGoogle page, or customized desktop is really taking on some momentum these days, I see a lot of my friends with customized desktops, no two are alike, that’s what is really cool about iGoogle.

I have found quite a few resources online, including the Google Gadget API.  There are even several example Gadget’s out there for developers to dissect, most I think are pretty cut and dry, but what I am wanting to do is to take my RSS feed from this Blog and create a running Gadget from that. 

The first place I have started looking is at the basic code for doing a “hello world” ap.  It looks something like this:

<?xml version=”1.0″ encoding=”UTF-8″?>
<Module>
<ModulePrefs title=”hello world example” />
<Content type=”html”><![CDATA[
Hello, world!
]]></Content>
</Module>

The idea behind this one is that you just take the Hello World out and enter in whatever HTML you need to put your Gadget together.  Google also provides you with a pretty cool online development environment for doing this all in: http://www.google.com/apis/gadgets/gs.html#Scratchpad.  There are some other examples on this page as well like Dynamic Tabs, Drag and Drop, etc.  All pretty cool examples, but still not anything close to what I am wanting to put together really.

I ran across another website that looks pretty informative, I am probably going to sit down this weekend and review what Mike has to say about creating a Gadget, here is a Link to How to make a Google Gadget in 15 minutes or less – I’m Mike.  Once I get it figured out I will post an update here for all of you Wordpress Users interested in creating your own Gadget.  I figure this will be a popular topic since I don’t see anywhere where it’s been done before, or at least shared with the rest of the world.  If I am missing something and someone has actually done this before please let me know.

Oh, I did find where Google had posted an example Gadget that was constructed from an Atom Feed of the Google Blog, here is their source code for that:

<?xml version=“1.0″ encoding=“UTF-8″?>

<Module>

<ModulePrefs title=“Google Blog” render_inline=“optional”

category=“news” category2=“technology”

author=“Jesse Shieh”

author_email=“jesse.feedback+googleblog@gmail.com”/>

<UserPref name=“post” datatype=“enum” display_name=“Post Number” default_value=“1″>

<EnumValue value=“1″/>

<EnumValue value=“2″/>

<EnumValue value=“3″/>

<EnumValue value=“4″/>

<EnumValue value=“5″/>

<EnumValue value=“6″/>

<EnumValue value=“7″/>

<EnumValue value=“8″/>

<EnumValue value=“9″/>

</UserPref>

<Content type=“html”>

<![CDATA[

<!-- load the NXSL library -->

<script src="http://www.google.com/js/nxsl.1.js" type="text/javascript"></script>

<div id="content___MODULE_ID__"></div>

<script> _IG_RegisterOnloadHandler(function () {

var url = 'http://googleblog.blogspot.com/atom.xml';

_IG_FetchContent(url, function (response) {

var prefs = new _IG_Prefs(__MODULE_ID__);

var nxsl = xmlParse(''

+ '<div select="/feed/entry[' + prefs.getInt('post') + ']“>

+ ‘ <h3 select=“title” content=“.”></h3>

+ ‘ <div select=“content” content=“.”></div>

+ ‘</div>‘);

nxslProcess(xmlParse(response), nxsl);

var content = xmlText(nxsl);

content = content.replace(/</g, ‘<’) .replace(/>/g, ‘>’)

.replace(/&/g, ‘&’)

.replace(/["]byline-author["]/g,

‘”byline-author” style=“font-size:84%;color:#666666;”‘);

_gel(‘content___MODULE_ID__’).innerHTML = content;

});

});

</script>

]]>

</Content>

</Module>

Still not exactly what I am looking for, but I think that we are getting closer...

Project Update: Classmate Website (beta)

PHP Runner is a PHP / MySQL Code Generation Tool that is all inclusive, it creates your database tables, generates php code, and even allows you to style your application and ftp it onto the web.

I just launched my Mom’s Classmate Website.  The entire site project was built in PHP/MySQL using .  Basically this site consists of only two database tables “classmates” and “events”.  Each classmate will register on the website with their information (name, spouse’s name, address, city, state, zip, telephone, cell phone, email, current photo, short message, etc.).  This information is stored in the classmates table when they register on the site.  I have it coded so that only registered classmates have permission to view information on other classmates.  Also, another feature I added was to allow classmates the ability to only edit their own information.  I figured that this would come in handy in the event they relocated, got a new email, etc.

I have sent off an email to all of my Mom’s classmates alerting them to the new website launch and that they can come in and register now.  I have tested the process a few times on my test box as well as having a few others login and try the process a few times.  I think it’s ready to go, if i do hit any bugs w/ the software though I will post it back here along w/ whatever fixes, etc. I have to put into place.

Since this project is saved as a PHPR project I have the ability to go in and add other features down the road such as a Blog, Photo Gallery, etc., which I am sure we will be doing in the future as time allows.

I also just found out that there is an article published on Xline’s website that outlines a very similar project to this, this solution I did for my Mom’s website is totally custom and very different from the one mentioned on their website but if you are interested here is a link: http://www.xlinesoft.com/articles/alumni.htm?1057

FBI Investigates Ticket Site “Attack”

Ran across this article on WHIR this morning and thought that it was pretty interesting.  Apparently a website operated by The Colorado Rockies that handles ticketing for their games had some issues staying online while a lot of people were trying to get tickets to the world series games, here is a Link to Web Host Industry News | FBI Investigates Ticket Site “Attack” and an excerpt:

“We have initiated an investigation into whether or not the server [used in selling the tickets] was compromised deliberately … whether or not there was a deliberate intrusion [that] compromised the site,” said Laura Eimiller, spokeswoman for the FBI in Los Angeles, California.

The server was operated by Irvine, California-based Paciolan, the vendor for selling the World Series tickets. Eimiller says agents have contacted Paciolan officials. While she could not say whether the investigation was triggered by a complaint by the Rockies, she did mention that the FBI had received “a number of calls” regarding the site crash.

The website apparently received about 8.5 million hits on it that were registered in their logs or analytical suite but the provider hosting the site / application reported that there was an external malicious attack on the site that brought it down.  The FBI is looking into the issue, not for sure where a report on their findings will be posted, if it is at all, but this just goes to show the world that we live in these days.  The article goes on to say that despite the slow processing times for ticket purchases, 50,000 tickets were sold just after a few hours of launching it.  wow!

PHP / MySQL development environment

IBM’s Developerworks section has a good tutorial for setting up a PHP / MySQL Development Environment on a Windows XP machine, here is a   if you are interested in checking this out.  This is pretty much what I do on my test machine so that I can stress test applications before I load them onto a working production box for deployment.  It is definitely the way to go in my opinion if you can afford the costs related to having another machine on your desktop.

Before you do this though you will want to make sure that you have a few prerequisites in place, here are some tutorials also provided by IBM that might be worth checking out, especially if you are new to php/mysql development:

  1. Creating dynamic Web sites with PHP and MySQL
  2. Access an enterprise application from a PHP script
  3. Introduction to PHP

Project Update: SEO for this Site…

I recently decided to start using my own domain, www.cottonrohrscheib.com to house my personal blog as oppossed to hosting it on other sites where I was a community member just because I saw some potential for SEO advantages.  I had let my website pretty much go over the years since I registered it in 2001, at one time I think that I had a Google PR of like 5 or 6 but as of late I had a PR of -0.  I posted an update to an old thread on Outfront’s SEO forum, see my post below:  (this was posted on 10/25/2007)  Here also is a Link to Google Page Rank question full thread w/ other members comments.

I am in a similar situation that this lady was in last year and was wondering if anyone can offer their opinion as to what might have happened…

I registered a personal website just for fun in 2001, www.cottonrohrscheib.com. For the first 5 or so years I just posted about 5 or 6 pages there for fun w/ photos, etc., just something for friends and family to have fun with. The website then was just static pages, nothing dynamic at all, my Google Pagerank for as long as I can remember was 5. It would occasionally teeter between 4 and 5.

Along about 2006 my web development business started to picking up so I just made things a little easier on myself and revamped the website with pages that had RSS Feeds embedded in them from my corporate blog, picasa photo blog, microsoft spaces, and other external sources that I sometimes posted content so that I wouldn’t have to keep track of my personal website along with all of the other communities I was a part of. Somewhere along the way my PR in Google dropped completely to 0. ??

I have since redesigned my personal site using the Wordpress Platform, it is now located at: www.cottonrohrscheib.com/blog (I used an Apache Redirect). The site has been up there now for about 3 months and I have been noticing my position in the search engines come up dramatically on my keywords since re-launching my site BUT my PR is still at 0. I know that PR isn’t that big of a worry as long as I am coming up good on searches but this really has me shaking my head… I have called on my SEO Guru to work her magic and help get the site submitted to a couple of directories, etc., and I am confident she will do a great job at this but I was wondering if anyone else out there might have some suggestions for me, or maybe an explanation as to what might have happened to my PR?

 

Well, to make a long story short, this morning I got on and noticed that my Google PR had jumped from -0 to a PR4.  This by no means is no 6 yet but it’s still pretty good considering i just started paying attention to it last week.  I think that whatever I am doing, a long w/ my SEO guru Erin, who has also been handling some submissions for me, must be paying off.  I just wanted to update the blog w/ this update.  I also just posted an update to the forum, that update is located below:

I just wanted to update this thread to show how quickly your Google PR can change. When I updated this old thread that I found related to Google PR I had a PR of 0-, and that was last week. I get into the office this morning and I find that over the weekend my PR was bumped to a Google PR4. It’s still not where it used to be at which was about a 5 / 6 as best I can remember but it’s definitely better than -0.

I guess all of this to say, if your PR is not good or where you want it, be patient, a lot can change pretty quick.

MySQL AB :: GUI Tools

I had another developer inquire over the weekend as to what MySQL GUI Tools I used / recommended.  Honestly I spend 80% of the time inside my IDE (phpr) so I don’t often reach for any other GUI tools becuase PHPR has a MySQL modeling tool built in that acts a lot like a wizard, for lack of a better word, but occasionally when the need arises I will use MySQL Administrator or the MySQL Query Browser. 

Both of these tools are readily available for free on the dev.mysql.com resource site, here is a Link to MySQL AB :: MySQL GUI Tools Downloads where all of these tools can be downloaded for free and ran.  Please note that when installing MySQL administrator on my test box I ran into some issues but I think that the issues were related to my OS installation on the box. 

GodTube.com – Baby Got Book

Ran across this and thought it was pretty cool.  Definitely a great spin on the original…

Link to GodTube.com – Baby Got Book

IDE / Code Generators for ASP, .NET…

PHP Runner is a PHP / MySQL Code Generation Tool that is all inclusive, it creates your database tables, generates php code, and even allows you to style your application and ftp it onto the web.

I was talking to my brother in law today, he recently took a position with a development firm in Oklahoma that is involved in a large Governemnt project.  His background is in Java programming and had gotten pretty proficient with it but in his new job he is having to work with ASP.NET and SQL Server.  Having to shift gears like that would make a lot of programmers heads spin but he’s going to get up to speed very quickly with ASP.NET I think. 

Developers today have many IDE Choices for developing software, Visual Studio, The Eclipse Project, just to name a few.  In some cases the actual software required to write software can be had for free, as is in the case of Eclipse.  I have used several of these development environments in the past and for the most part they all do exactly what they are supposed to do.  Of course most developers will have their own particular tool that they have used for years that they prefer over everything else. 

While we were talking I asked him what IDE they used at his new firm for developing their applications, he was telling me that they use Microsoft Visual Studio.  I told him a little bit about PHPR (phprunner) and how I have really embraced this software.  Software like PHPR is what I consider to be “second generation development environments”.  The reason I say that is because they allow us (developers) to rollout applications and updates to projects in a lot less time.  I was telling him that Xline, the company that produces PHPR also have ASP and ASP.NET IDE solutions that could dramatically cut down his development time as opposed to using Visual Studio.  I also shared with him how the company supported the software and how helpful the entire community was when it came to supporting each other.  I think that we are going to sit down this weekend and download a trial of ASP.NET Runner and give it a test drive

PHP Runner is a PHP / MySQL Code Generation Tool that is all inclusive, it creates your database tables, generates php code, and even allows you to style your application and ftp it onto the web.

I think that sometimes I get so wrapped up in the PHPR IDE that I sometimes forget to mention to folks that they (Xline) also have the same tool available for ASP and ASP.NET.  If you are looking to get into ASP or ASP.NET programming be sure to click on the links above. 

PHPR Community Chimes In…

PHP Runner is a PHP / MySQL Code Generation Tool that is all inclusive, it creates your database tables, generates php code, and even allows you to style your application and ftp it onto the web.

A newbie “Smoking Yoda” asked a question on the PHPR support forum aslking what everyone thought about PHPR and whether he should invest in the software. It’s a legitimate question in my opinion considering that there are a whole lot of IDE’s out there that are open sourced, AKA “free for the taking”. Here is an excerpt from his post.

Quoting SmokingYoda: I’m a reasonably new web designer, mainly html but have also used a few open source cms’s (and like!). But I’m looking to develop php/mysql dynamic sites now for myself and my clients. I have little to no knowlage of php (can read/hack it a bit but no write) and PHPRunner seems to be v’interesting as it could solve my noobieness!

I found out about PHPRunner when researching another software that looked interesting….now dont spit at me! EasyGen was its name and it had very mixed reviews when I went hunting, although the “magazine” reviews said it rocked, I looked a lil deeper.
So…the question is, is PHPRunner the answer?!!

I pick things up quick and moving into dynamic sites is my next move, to enable me to move my business on to the next level and as always money is an issue (lack of it) so I don’t want to make a mistake when purchasing software….so convince me!!

I quickly responded to his thread with my opinion of as did a few other members of the community, all with positive things to say about the software. I think that a big misconception people have when looking at PHPR is that they immediately compare it to other IDE’s that are out there like Eclipse, Visual Studio, etc. Granted, PHPR can be used very similarly by operating in code view inside the Visual Editor, but for me the biggest selling point for the software is that it is also That’s right, you basically work your way through the super intuitive interface by first setting up your database information and table structures and then march right on through the process of generating pages for add / edit / view / list / and search and before you know it you are ready to style your application inside the visual editor.

Once you have everything looking just the way you want inside the visual editor you can then FTP your site files to your website. That’s right, it also has a built in FTP utility that is pretty advanced from what I have seen, it will handle setting all of your file permissions for you and everything. It’s not hard to become spoiled with software like this on the market!

I think that another reason a lot of the people in the PHPR community are so passionate about the product is because the level of support from Xline is second to none. I have sent support emails with issues before and had a response in my inbox before I could run and grab a sandwich. Sergey, Alexey, and the rest of the crew are awesome! The message board is also a pretty quick way to find answers to support issues, the PHPR community rocks!

If you are looking for ways to speed up your development process I recommend giving PHPR a try, . I think that you will like what you see, everyone I have shown this software to has appreciated what it does, even old school developers who are even more hardheaded than I am…


Measure Online Advertising with Google Analytics

Google Analytics is a free web analytics application that is quickly becoming one of the most widely used web analytics tools around. A common misconception that many people have is that GA can only be used to track Google AdWords. That’s simply not true. GA can be used to track any online marketing activity. And not only will Google Analytics track online marketing, it will also identify the conversion events that your online marketing creates.

I ran across a good article on Vitamin about using Google Analytics to track your Online Advertising (keywords, banner ads, ppc’s, etc.)  GA is the analytics software that we use and recommend to our clients as well, I can’t say that I use it to it’s potential though, I pretty much just look at traffic information and search terms. I am able to get the information I need out of the reports in just a few seconds which is very nice.  I also like having the ability to have a weekly report automatically generated and emailed to me, pretty handy info.  If I were doing adwords or online advertising I would definitely be spending more time in GA than I do now, it’s a must have if you are into Online Advertising.  Here is a Link to Vitamin Features » Measure Online Advertising with Google Analytics

Next Page »