Quantcast

Joel Nagy .com

web technology is a way of life

Archive for the ‘Thoughts’ Category

Animated GIFs on Facebook Tabs

Animated GIF for FacebookEver tried to put an animated GIF on a Facebook tab? They work fine in the left sidebar boxes but unfortunately are cached by Facebook and served from their CDN. This causes the image’s animation features to be lost. However calling a remote stylesheet will allow the images linked from that sheet to not be cached and thus pull from your own servers directly and animate properly. Check out my example of an animated gif on facebook.

Code for your FBML tab:

<link href="http://example.com/stylesheet.css" />

<div id="Ani">animated gif from stylesheet</div>

Code for your Stylesheet:

#Ani {
	background: white url(http://example.com/animated.gif) no-repeat;
	width: 100px;
	height: 100px;
	display: block;
	text-indent: -5000px;
}
Enhanced by Zemanta
  • 0 Comments
  • Filed under: Thoughts
  • Facebook has taken their Like button a step further.  They now provide you the ability to Admin these Liked pages and send published wall posts as if they were a Fan page.  If you place a Like on your site, make sure to specify yourself as an admin via a meta tag:

    <meta content='NUMERIC_FB_ID_HERE' property='fb:admins'/>

    Then you can also get a view into your analytics via the Facebook insights. These pages show up in your “Ads & Pages” link that is now in the left nav (despite it never actually staying put if you choose Edit and move it up higher, but that’s cause Facebook likes to add features that aren’t quite ready for primetime.)

    Enhanced by Zemanta
  • 0 Comments
  • Filed under: Thoughts
  • Facebook, Inc.
    Image via Wikipedia

    It’s quite simple to add the Facebook Like button to your blog.  If you don’t mind editing code and don’t want to deal with a plug-in you can simply drop in this bit of code (to your index.php & single.php files); note that the URL I’m using is based on a previous post for creating your own shortURL for WP:

    <iframe src="http://www.facebook.com/plugins/like.php?href=http://joelnagy.com/p<?php the_ID(); ?>&layout=standard&show_faces=false&width=425&action=like&colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:425px; height:30px;"></iframe>

    So please share the love and Like this!

    Reblog this post [with Zemanta]
  • 2 Comments
  • Filed under: Thoughts
  • In Defense of Development

    We all want our websites to be beautiful and attract users from an aesthetic point of view. But it would be awful to go through the pain of dealing with the loss of customer data and seeing the media rip into you for slcking on security and being hacked if your development schedule was compromised due to “creative creep”.

    Quite often it seems that the one place everyone thinks a schedule can be squeezed is the development or QA phase.  Customers are not your QA staff.  ”Beta” on a website can be tech-catchy but in reality sites in beta are QA’d internally as well. Reducing time or expecting 12 hour development days is likely to result in mistakes. These mistakes can be very costly if not caught. A simple SQL injection could result in the theft of customer data and a PR nightmare at worse. Overworking the dev team to finish on time while the creative team continues to “work out” ideas only results in code that becomes reconstructed to manage ideas that are hardly ever simple and will cause tension.

    The most important thing I can say is that planning for changes and creative creep would at least benefit your  development team, but that the expected hard deadlines required by development should also be part of the creative schedule.

    In short, developers are people too.

    Reblog this post [with Zemanta]
  • 0 Comments
  • Filed under: Thoughts
  • Chrome is Afraid of Google

    Commonly I ignore typing www. at the beginning of a URL. Today I came upon a little issue that Google has with their servers; they didn’t set up google.com/adsense to redirect to www.google.com/adsense.  At first I thought I had mistyped the URL as I received the red screen of insecurity.  Made me at least happy to know that Google didn’t program any specific google.com references into the browser to automatically assume any safety for their servers.

    google.com/adsense
  • 0 Comments
  • Filed under: Thoughts
  • As much as I’d love to give cable the boot (especially in light of the recent Time Warner and Cablevision issues with carrying and paying for Fox, Food Network and HGTV) I still see roadblocks ahead for TV over the Internet.  YouTube and Hulu have changed the game and made major in roads into original and re-broadcasted content.  And this will only serve to bring new entertainment into more homes.  An article from wired.com today about the upcoming CES talks about Boxee Box,  a set top Internet Video box like your cable box but delivering video to your TV without your computer.  Boxee Box looks like an amazing device, it incorporates social networking as a means to find videos, but I still see big issues.

    The Guide. The onscreen guide on your cable box or TiVo brings you an extremely easy way to find content, people are accustomed to using this system to scroll through channels and find shows.  If Boxee Box or other Internet TV boxes can reproduce this simplicity for finding quality video content then they’ve solved a big part of the problem.

    Multiple Episodes. Finding, sorting and viewing multiple episodes of a show is key.  It’s built into TiVo if you record a season of a show.  It’s of course built into DVD and Blu-Ray when you pop in a disc. But right now it’s hard to find the second video in a series on YouTube sometimes; it’s not always in the related videos module (or the 5th video in the series is there, but not the second) and you become forced to click around to the user’s upload page and search for the video.  So once the all of the various video sources have clean standard feeds that the set top boxes can read then finding the next video in a series may become an issue if someone already didn’t create a playlist.

    Quality Content. Despite all the funny viral videos that spam the net and waste your time every now and then, most people still watch TV for quality content.  Some stations such as TBS and Cartoon Network are deploying full length video of previously aired shows (albeit with a little difficulty in listing them in order).  And Hulu gathers lots of once-on-tv programming into a single space and could help change the landscape of TV once they provide access to that content.

    Having a simple guided access to episodic lists of quality content will be the key to Internet Video on TV.

    Till then I’ll be happy with my TiVo, upset at Cablevision, and hoping that Hulu works on delivering their content (especially to TiVo.)  And Tivo, if you’re listening, check out Boxee Box as competition despite it’s lack of a coax interface.

  • 2 Comments
  • Filed under: Thoughts
  • How Do We Fix the Short URL Mess?

    Short URLs are great, they make sharing blog posts and YouTube videos easy for things like Twitter and old school email programs that love to break URLs into multiple lines causing frustrated users to cut and paste humpty dumpty URLs.  They do however have a lot of down sides.  They may not point where you think they do, and can be easily spammed around and provide for some pretty effective trojan horses.  These tiny locators usually don’t include your own domain name, so trackbacks for blogs, statistics or Google Page Rank don’t work (Although I’m sure Google has a plan in the works for this.)  Many sites implement their own sharing tools that let you save and share links to their site.  Many of the free externally hosted tools use their own URL shortener or own of the major players like bit.ly (recently acquired by Twitter.)  This still adds just more URLs out there that you don’t control.  You can solve this by having your own inhouse service (homegrown or bought using a whitelabel service) that will use yor own domain which will help with your own stats, trackbacksGoogle Page Rank.  But if the visitor of you your site doesn’t know how to easily get this URL they won’t use it.  The most common place to get the URL is of course from the Address Bar and people will cut and paste it or use a plugin to autosubmit the URL to a shortener or to a Twitter service.

    I think a solution can lie within the page and camn be consumed by the browser and other services.  For browsers it could work as either a built in feature like the common favicon.ico or via a plugin for now till things catch. When a browser knows that a page has a short URL it could provide an option to copy that or allow for it to be passed easily to other plugins when requested.  When services such as Twitter post a link and wish to shorten it, they can check the page for the existenence of the shorturl and use that over one they would use by default.  This does however mean that the service has to retrieve the page or it’s headers to get this info and then check that the shorturl does in fact meet their length requirements.  The other issue is if the page lies and links to something false.

    In thinking about the use of the <link> tag for an in-page solutiuion I came across someone that had a similar idea: <link rel=”shorturl” href=”http://example.com/12345″ />

    I don’t know what would suffice as the perfect solution, but I think it can only be solved via the community at large.

    Reblog this post [with Zemanta]
  • 1 Comment
  • Filed under: Thoughts
  • News, Twitter Style

    Twitter is obviously a huge part of people’s lives, not many of these people, but many.  I for one see it as a great medium for learning news and interacting with my “real world” friends and even finding new ones.  It’s even a great resource for marketing oneself and helping to locate new jobs as well.

    Twitter is akin to email where the basis for it is ver simple, it’s a transportaion layer for information.  This information is only limited by 140 characaters.  This still leaves the layer quite open.  The idea of distributing news via Twitter is among the many ways that illustrate the powerful nature of their simple transportation layer.  Riding on top of that layer is RiotFeed which has a few dozen or so Twitter accounts where they aggregate and categorize news on various topics such as Technology, Green Living, and Trends and Culture.  They collect news from other Twitter accounts and the web and put it into a single use news feed.  I do wish they would attribute Twitter resources with the @ sign, but that’s a small gripe.  The concept and the follow through are well done.

    Even with Twitter being a single access point, the plethora of clients provide for a personalized way to retrieve the news.  I’m not going to go to Facebook for news, and with a limited number of alternative facebook clients and because of Facebook’s complex user interface you really need to go to the site to get the most of it. This shows where Twitter really shines.

    Reblog this post [with Zemanta]
  • 0 Comments
  • Filed under: Thoughts
  • Twitter Trending Topics are a very cool thing and it is interesting to see how information spreads through Twitter.  An example that’s relevant today is the #IranElection.  But if you look at the current results (and since Twitter search is real time you may or may not see it) there are quite a number of ReTweets very often.

    So It makes me think about how much is something really a “trend”.  So that means you need to define trend or at least define it for yourself or the twitterverse.  For me I’m more interested in seeing real content that is relevant to me.  So that means true conversations and discussion of a topic.  And a retweet as helpful and nice as they are, are not nessecarily real content when they reach a mass large enough to be a trend.  So I would like to see an option to the Trending Topic search that removes retweeting from the results.

    Since retweets are not standard I’m sure it wouldn’t be perfect but I figure that by removing tweet results that start with “RT ” or “retweet ” or ones that have ” via @” near the tail of the tweet could constitute a retweet.  I’m sure there are a few others as odd apps like to come up with their stnadards (like “RT:”)  So another means either in conjunction or by itself is to remove tweets that are 95% similar to other tweets.  If you said the same thing as someone else then that data is not nessecarily as important in most cases.

    Now I don’t propose that this option be a default unless it’s perfected but that like I’ve said that it is at least an option to help weed out the results to get decent content.  Since in the end the real reason to search is to find.

    Reblog this post [with Zemanta]
  • 0 Comments
  • Filed under: Thoughts
  • Why do tracking/analytics companies want their code placed at the top of the page (meaning below the opening tag) to be properly tracked? If a user exits quickly they should not be tracked.  It seems quite duplicitous to track a user that has exited a page before it has even finished loading.   Granted if you have a site that takes a bit to load you shouldn’t wait till everything on the page loads, otherwise you’d never realize that your page load time results in lost visitors.  But if a user exits a page or clicks away very quickly that visit doesn’t really count.  It would be like Nielsen tracking every channel I skip when I surf TV using the channel up button.

    I also simply can not believe it when a tracking company claims that their code will not be guaranteed to work if placed in the <head> of the document or if the code is wrapped inside a generic tracking function.  If your code can’t be wrapped or placed in the <head> what did you do wrong in the first place, or what kind of tricks are you trying to pull? I don’t like to always use the exact code provided by these companies when working on a client website.  Your client’s needs for analytics may result in them changing tracking companies and then the developer would be forced to make widespread changes across a site to deal with such change.  Granted this type of change is not all that frequent, but it does happen and being prepared is far easier than redoing work.

    I’m also not convinced that the analytics provided by many companies is accurate enough.  I’ve seen on many occasions that raw stats provide disparaging numbers when put against 3rd party companies and even between multiple 3rd party tracking companies when used together on the same page.  When the numbers of hits you receive on your site is the means for convincing ad placement or other financing I think that accuracy is quite important.

    Reblog this post [with Zemanta]
  • 1 Comment
  • Filed under: Thoughts
  • In Other News...