Justice Pitfield's decision to compel the Government to recognize Vancouver's Insite safe injection facility as a health care service, overrules law, the Government, and the common sense of the electorate. With a severely perverted interpretation of Canada's Charter of Rights and Freedoms, Justice Pitfield underscores the leadership vacuum in which we now live.

Valid HTML must be encoded into HTML entities before it can appear in its literal format on a web page. Here is a function written in JavaScript to encode HTML for displaying on a web page or blog. The function converts valid HTML into HTML entities:

Try it here:




Paste HTML Source:

Output with Encoded HTML Entities
Raw Output Preview
" gets encoded into &quot; > gets encoded into &gt; < gets encoded into &lt;

To place HTML or JavaScript code anywhere in a document, it's best to encode into html entities.
Every once in awhile you come across a real winner. I'm not even sure what ad networks these guys used. When I first came across the strange solid orange banner that said to click, I did. All I remember was it's simplicity. I'm sure their's was much better than mine, but since I can't find it, here's my reasonable facsimile:


Clicking the banner reveals this site:






Watch all 6 video clips from the original flash site (now removed) here:




To bolster conversion rates, the experts would recommend that you test, test, test. This expensive technique sounds an awful lot like the mechanic who uses a customers money to experiment on, rather than fix their car. As an advertising customer, how much R&D costs are you expected to absorb during all these tests? Too much emphasis is placed on capturing the audiences attention in the 1 or 2 seconds you've got to grab it. While being noticed is an important aspect, if would-be purchasers aren't going to convert into paying customers, it's much cheaper if they just don't click to begin with. It doesn't take a rocket-scientist to figure out what makes a good ad. While you can't rely solely on your own judgment, you don't ever want to ignore it entirely either. First of all, if there's something that works that you didn't expect would, or something you expected to work that failed miserably, than over and above the opportunity to do better next time, your experience has also revealed an important incongruity within your market positioning --in other words, you don't understand your customers and what appeals to them. Once you've got their attention, are you ready to sell?
Online advertising grew by 25% in 2007 and is now a $21 billion dollar industry in the United States alone. As an advertiser, it's important to understand how traditional marketing psychology converges with the technical aspects of emergent marketing technologies. $21 billion is a lot of eye candy: You may have finally gotten rid of the telemarketers, but like them or not, embedded contextual ads are here to stay as advertisers become increasingly desperate to capture your attention. Personally, I like contextual ads --there's just so much involved with marketing psychology. Goolge has positioned itself perfectly to connect content publishers with advertisers in order to get you, the viewing public, to click more ads. Advertisements permeate everything: Ads for videos, ads for search, ads for content and even ads for referrals. Image ads, pay-per click ads, text ads and link ads. CPM, PPC, analytics, click-through and conversion rates, referrals, link-back and anchor-text; too often the novice advertiser knows only enough to be dangerous; in this, an expensive game that can quickly swallow your budget. Check this out for funny example of The Internet in the year 2045
If you're looking for scripting access into client side JavaScript or Screen Scraping mechanisms to capture content as rendered in the browser, this will be of interest to you: I've started to notice Ruby now for about 3 years, stumbling onto Ruby on Rails only occasionally to find it dispereased sparsely, but herald proudly, within the development community. Until recently I've pretty much ignored Ruby and have stuck with traditional Lamp platforms, relying on PHP for server side scripting. Something I've wanted to do for a long time is to automate web browsing tasks. While I've used Perl's Mechanize library, my most pressing desire was to capture client-side JavaScript. My research uncovered two possible solutions. I found a firefox extension JSSh, a TCP/IP JavaScript Shell server for Mozilla, over at Ideas for Dozens: Telnet to JavaScript. JSSh acepts a telnet connection interface to the JavaScript Mozilla's environment. While JavaScript Window objects are passed as objects in JSSh, there seems to be limitations, as these objects do not seem to offer full inheritance of Window Objects. Basic Math, Array and other objects are present, but what I needed was the Window.setTimeout() method. Maybe I am not fully understanding the functionality of JSSs, but if it has more features, they're not well documented. For certain limited applications, JSSh offers great flexibility to solve problems by providing any telnet capable application access to JavaScript and is non the less very cool. My next tangent was found in Watir, an automated IE Screen Scraper, written in Ruby. With Ruby, and the libraries Watir and BeautifulSoup, I was able to automate a full function screen scraper in a couple hours (should have been minutes, had I already been familiar with Ruby) The Class has three functions: It opens a specific page, logs in if required and then monitors the contents of a specific HTML tag. When the content changes, it raises an alarm. On initialization:
  • Open desired web page in a hidden IE window
  • Login if redirected to login page
  • Hold the contents of a single specific HTML tag in a Class variable
On updates:
  • Wait a specified delay interval
  • Refresh the page
  • Raise alarm and open a visible IE window if content has changed
OK, I guess now I'm a Ruby fan too. I've been reading Ruby Documentation ever since. Backed by Apple, I'm sure Ruby on Rails is destined for even more popularity.

Dynamic Page QR Code

Popular Posts

My LinkedIn PingTag


View My Stats