Saturday, 1 September 2012

The Law on Framing| Plagiarism Today

Is the DiggBar Content Theft? | Plagiarism Today

The Law on Framing

The case law on framing is surprisingly thin. Though the technique has been around for over a decade and several suits/disputes have come out of it, all of the cases seem to have been settled out of court.

However, the case of Washington Post v. TotalNews may provide some clues as to the potential legal risks. The case, which was settled in 1997, saw The Washington Post sue a news startup called TotalNews because the site was using frames to link to Washington Post content rather than plain hyperlinks.

In the case, there were three primary objections that seem potentially relevant to the DiggBar:
  1. Trademark Infringement: Displaying one’s logo over another person’s content could be seen as implying a relationship between the two that does not exist and that, in turn could, be considered trademark infringement. For example, if the New York Times felt that the DiggBar was causing people to believe that Digg sponsored the newspaper or that the NYT endorsed Digg, they might have grounds for a trademark suit. Furthermore, if the NYT felt that the DiggBar caused confusion as to the origin of the reporting, they might have similar grounds.
  2. Copyright Infringement: Though framing doesn’t make an actual copy of the page that is being framed, one could argue that framing both violates the distribution right under copyright law and that it creates a derivative work based upon the original. Either of these would be a violation of the copyright holder’s exclusive rights, if it could be shown.
  3. Tortious interference with Business Relationships: By reducing the amount of visible area on the page and running their own advertisements (should they appear), the DiggBar could be accused of interfering with existing advertising partnerships on various sites.
None of these items are a perfect fit and all require a bit of stretching. However, it is easy to see how, in each case, an argument could be made and be successful. But since the TotalNews case was settled out of court, with TotalNews agreeing to stop using frames, there are no legal rulings on these issues.

The question is not just whether these approaches could work, but whether they could work in 2009, with more tech-savvy judges. It is very difficult to say and there are no clear answers.

Still, there are clearly many ways that a litigious-minded content creator could sue Digg for the DiggBar.

The Ethics of Framing

If the legalities of framing are muddled, then the ethics are divisive. Some people feel that framing is perfectly acceptable, others think of it as a form of content theft. It is often a matter of personal perspective.

Those who do object to framing typically do so on one of three grounds:
  1. SEO Issues: Though there is some debate as to how framing affects search engine ranking, at least one blogger has seen lower PageRank posts get bumped from Google in favor of Digg URLs already (see comments). It is pretty clear that linking to a page with the content in a frame does less good in the search engines than just linking to it directly.
  2. Advertising and Integrity: Though the DiggBar doesn’t display ads yet, it is foreseeable that it will at some point. Many sites don’t allow ads sites that link by framing are the only way that ads are displayed along side their content. Many people aren’t comfortable with other sites earning money directly off of their content, especially when they aren’t doing so themselves. Furthermore, other sites don’t like their pages to be altered in any way, including via framing.
  3. Visitor Interference: Framing not only reduces the screen real estate that the visitor has to read the content, but it also impedes their ability to copy the source link. Though Digg is also billing itself as a URL shortening service, there are still many cases where one wants to copy the full, original URL (IE: Three Count columns). Framing makes that more difficult to do and encourages users to pass around links to other domains.
(Note: Do you have a particular objection I missed? Leave it in the comments and I may add it in.)

The end result is that even Webmasters who are not outraged by framing still, usually, prefer direct links for most things. The question is whether or no Webmasters will be outraged enough by the DiggBar to try and force them to change.

Why is IFrame bad? | Why

Why is IFrame bad? | Why


Inline Frame, or IFrame, is an HTML component and detail that is embedded within an original HTML page or document.  It is commonly used as a means to put various contents into an existing Webpage.  Content such as chat applications and banner advertisements may be inserted to an existing HTML page or document through IFrame.  IFrame contents may also be from a different source or page making it independent from the actual page.  Changes may be made to the IFrame without altering the original HTML page.  Since IFrame is independent from the main Webpage, it can also contain its own scrollbar for users to view its contents. 

From an SEO, or Search Engine Optimization standpoint, using IFrame is considered bad by many people because it only aims to trick search engines with content coming from other sources. SEO requires new and fresh content for the original HTML document and page, and all data should be edited on that level.  Some people only change content through IFrame which technically does not result in changes to the Webpage data.  Many people assume this is the case which is why only details on various IFrame pages are changed rather than the main articles and contents of the actual Webpage.  Some experts have even pointed out that some Webpage owners and developers have abused the use of IFrame in changing Web content just to get a better ranking in search engine results.

But as for search engines on the Internet, they are actually able to check whether the HTML page they are searching is updated or not.  Even if changes are embedded through IFrame, these search engines can actually detect actual content of the Webpage.  Experts even suggest that if Website owners can make do without IFrame, then their page is considered good.  Instead of having to embed content from other sites or sources through IFrame, one needs to do content updating on the actual Webpage to ensure a good ranking on various search engines on the Internet.

Cross-Domain Communication with IFrames

Cross-Domain Communication with IFrames

The Demo

First, let’s see what we can do with this hack.

Demo

In this demo, we have a control on the top-level document affecting something in the iframe and vice-versa. This shows you can run communication in both directions with this technique. Typical of the technique, the communication is between two browser-side components from different domains (as opposed to browser-to-server communication, although there is actually server communication involved in making this happen).

The Laws of Physics: What you can do with IFrames

To understand the hack, we need to understand the “laws of physics” as they apply to iframes and domain policies within the browser. Once you appreciate the constraints in place, the pattern itself becomes trivial. This demo was created to explore and illustrate these constraints, and contains some simple code examples.

Definition I: A “window” refers either to an iframe or the top-level window (i.e. the “main” page). In our model, then, we have a tree-like hierarchy of windows.

Law I: Any window in the hierarchy can get a handle to any other window in the hierarchy. It doesn’t matter where they live within the hierarchy or which domain they come from – with the right commands, a window can always refer to any other window. Parent windows are accessed as “parent”, “parent.parent”, etc., or “top” for the top-level. Child windows are accessed as “window.frames[0]” or “window.frames[name]“. Note in this case that the name is not the iframe’s id, but rather the iframe’s name. (This reflects the legacy nature of all this stuff, relating back to ugly late-90s frames and framesets.) Thus, to get a sibling handle, you might use “parent.frames[1]“.

Law II: Windows can only access each others’ internal state if they belong to the same domain. This rather puts a kibosh on the whole cross-domain cross-iframe thing. All this would be so easy if iframe scripts could talk to each other directly, but that would cause all manner of security shenanigans. HTML 5 does define explicit communication between iframes, but until wide adoption, we have to think harder …

Law III: Any window in the hierarchy can set (but not read) any other window’s location/URL, even though (from Law II) browser security policies prevent different-domain iframes from accessing each other’s internal state. Note: Exact details for this law needs further investigation Again, it doesn’t matter which domain it comes from or its position in the hierarchy. It can always get a handle on another window and can always set the window’s URL, e.g. “parent.frames[1].location.href”. This establishes window URLs as the one type of information on the page which is shared across all windows, regardless of the domain they come from. It seems sensible that a parent can change its child windows’ URLs, BUT not vice-versa; how strange that a child window is allowed to alter its parent’s (or uncle’s, sibling’s, etc.) URLs! The only justification I know of is the old technique of escaping the frame trap, where a website, upon loading, ensures it’s not inside a frame by simply setting the top-level URL – if it’s different to itself – to its own URL. This would then cause the page to reload to its own URL. However, that’s a special case and hardly seems worth justifying this much leeway. So I don’t really know why you can do this, but lucky for us, you can!

Law IV: When you change the URL’s fragment identifier (the bit on the end starting with a #, e.g. http://example.com/blah#fragmentID), the page doesn’t reload. This will already be familiar to you if you’re familiar with another Ajax hack, Unique URLs to allow for bookmarkability and page history. Normally, changing a document’s “href” property causes it to reload, but if you only change the fragment identifier, it doesn’t. You can use this knowledge to change the URL symbolically – in a manner which allows a script to inspect it and make use of it – without causing any noticeable change to the page content.

Friday, 31 August 2012

Top Streaming Content Apps & Sites | iFans

Top Streaming Content Apps & Sites | iFans


world-musicWith internet speeds steadily increasing, the big thing these days is on-line content streaming. There are a good number of HTML5 based websites and audio streaming apps out there that you can use to play content on your iPhone and iPod touch.  At this juncture I thought it would be good to let you know what I’ve come across on my cyber travels and maybe we can all compare notes in the discussion thread to see if there’s any more hot apps or great sites out there that anyone knows about.

Hit the jump to read more and/or leave a comment to discuss.


Unfortunately, despite the explosive force of globalisation, streaming content providers are ham-stringed by antiquated copyright laws and country specific legislation.  This means that a lot of the streaming content available out there is country specific and, while in specific cases there is sometimes a simple way of getting around this limitation, the only really effective way to get access to many international streams is to set up or pay for subscription to a Virtual Private Network (VPN) in the country where the content you want is being broadcast.

Anyway, without further ado here’s my list of sites and apps I have come across that you may or may not know of .  N.b. for facilitated access to the internet sites listed below you may want to put an icon on your Springboard using the ‘Add to Home Screen’ option within.

Streaming TV & Video:

BBC iPlayer (Web, free) [Stu's Pick] – incorporating a hand picked selection of BBC TV programs from the last 7 days with a channel guide and BBC radio.  UK only.
TVCatchUp (Web, free) [Stu's Pick] – Provides real time streaming of UK TV channels, though quality and speed can be an issue if you don’t have a great connection. UK only and requires free registration.

ABC.com (Web, free) – watch ABC’s selection of prime US content including serials such as Lost, Private Practics, Scrubs and a bunch of other less interesting content. US only.
NBC.com (Web, free) – NBC shows including Heroes, Jay Leno, The Office (US), Saturday Night Live etc. and a bunch of their classic shows from the past (e.g. Buck Rogers Miami Vice, Magnum P.I.).  US only.

On Demand Music

Spotify (App Store, free) – The UK’s preeminent music streaming site. Available only in Sweden, Norway, Finland, the UK, France & Spain due to licensing subscriptions.  A premium subscription (€9.99 pcm) is required for the App Store app to work.

Rhapsody (App Store, free) – Access over 9 million full length songs. Requires an active Rhapsody Go subscription ($14.99 pcm) or trial to work. US only.

Grooveshark (Cydia, free) [Stu's Pick] – As Apple have repeatedly rejected their app from the App Store, Grooveshark went underground and released on Cydia for use by the jailbroken masses.  You’ll need a Grooveshark subscription to get it to work but  it’s very reasonable at $3 pcm or $30 pa. The more canny jailbreakers will probably be delving in the /var/tmp folder early on and one presumes this may cause Grooveshark some issues going forward. Available globally w/o restriction.

Pandora (App Store, free) [Stu's Pick] – The number one free content music streaming app in the US that learns from your music preferences to provide a stream of tracks that you may not know and may actually enjoy. Ad supported and US only due to restrictions.

Slacker Radio (App Store, Free) – Very similar set up to Pandora but the algorithms to choose music based on preferences don’t appear to be as ‘intelligent’, though Slacker’s interface is definitely more appealing. Visual and audio ad supported unless you purchase subscription ($19.88 for 4 months, $47.99 for 12 months). Free use requires free subscription. Restricted to US only.

Radio

WunderRadio (App Store; $6.99) [Stu's Pick]- If you enjoy radio then this app needs to be on your springboard. It provides a wide band of global radio streams with multiple bit rates, great functionality and it allows you to surf the web in-app while you are listening. Unrestricted global access.

Public Radio (App Store, Free) – Streaming internet public radio stations & a selection of on-demand programs.  All US based stations but the app works globally.

Internet Radio Box (App Store, on sale $0.99)[Stu's pick] – At the current sale price of $0.99 it’s a must have. If you feel you can’t stump up seven bucks for WunderRadio then this is your next best bet – it may even be better value for moneyat the full price of $2.99 to be honest though I haven’t yet spent enough hours with it to fully vouch this fact. Global streaming radio that works in most countries with lots of functionality and a web browser to boot.

Thursday, 30 August 2012

aBowman - spider embed widget (etc)

aBowman

New Embed Code for WP.com Users

March 6th, 2011
I added some new embed code to a lot of the widgets tonight that will work for people who host their blogs on WordPress.com.

aBowman Dog

December 22nd, 2010
The aBowman Dog is now available as a gadget on iGoogle.  You can change the look of the dog here and then add the gadget to iGoogle by pressing the button below the customization form.  Over the next few weeks, I will be adding some new features, optimizing the code and fixing bugs.

Minor Groovy Fish Update

March 17th, 2010
The update I applied today to the Groovy Fish Android app fixes the anti-aliasing issue users were experiencing on the Droid and Nexus One. Those users should no longer see distorted graphics (jagged edges on the fish and lily pads) after installing the update.

Groovy Fish now on Android Phones

December 20th, 2009
The new Groovy Fish application is now available for download on the Android Marketplace. Groovy Fish is a lot like the Fish gadget, but also includes lily pads and flowers. Groovy Fish Groovy Fish Settings Groovy Fish Color Picker Groovy Fish Choose Fish to Color
QR Codes (Scan to download):

Newton’s Cradle Gadget

November 28th, 2008
Some of you have probably already seen the Newton’s Cradle gadget. Just figured I would announce it here for those who subscribe to the blog. It is currently available for iGoogle and Chumby. The Chumby version adds another dimension to the gadget, since it responds to tilting. I’ll be making it available to other sites soon.

New Hamster Gadget

November 17th, 2008
Check out the new Hamster gadget. I’ll be adding a Clearspring menu soon so that you can add it to sites other than iGoogle.

Add Gadgets to MySpace and Blogger

July 11th, 2008
Over the past week, I’ve been adding new buttons under each of the gadgets that allow you to easily add the gadgets to MySpace or Blogger.  Some of you may want to customize the gadget before adding it to your page.  To do that, click the “edit settings” link and use the form to adjust the colors or to change other values.  When you’re finished, click one of the “add to” buttons below the customized gadget to add it to your page.

Gadget HTML Code Updated

June 7th, 2008
Yesterday, I was testing out the gadgets on MySpace and I discovered that the embed code was no longer working. They must have recently changed the way they parse the code and rewrite it. I updated the gadget html code and it should now work for you. To get the code for your page, click on the edit settings link under the gadget. You should then see a text box under the edit settings form which contains the code.

Tuesday, 28 August 2012

Spotify - CNET Download.com

Spotify - CNET Download.com


CNET Editors' review

by: Donald Bell on July 14, 2011
The bottom line: It's the best free music option since stealing.

Review:


Installation
As a first-time user, you install the free Spotify Mac/PC application, open it up, and watch as it automatically imports your music collection and playlists from iTunes and other music software and presents you with a landing page filled with new releases, top lists, and music shared by your friends. Setup is swift.

Interface
Spotify's polished, iTunes-like interface is as inviting to music fans as a well-stocked record bin. Each portion of the bento-boxlike layout can be resized, and playback, volume, and track scrubber controls are placed neatly across the bottom. Browser-style back and forward buttons located to the left of the search box allow you to dig your way back out out of the rabbit hole of music discovery.

Features and support
Spotify's big trick is a little search box at the top of the screen that lets you search for any reasonably popular artist, song, or album in existence and stream it immediately. You can't get The Beatles, but we had no problem finding greats like The Rolling Stones and David Bowie, as well as obscure indies such as The Ghastly Ones or Four Tet.

Put simply, you tell your computer what you want to hear, and it plays it for you...for free, and without limitations for up to six months. It doesn't play something similar to the song you want (like Pandora), or a 30- to 60-second clip of the song you want (like iTunes)--it plays you the whole song or album, just as if it were in your personal music collection.

Spotify

Of course, there are a few other bells and whistles that make Spotify its own special thing. Facebook and Twitter integration enables you to easily share music discoveries with friends. Artist pages encourage discovery with bio pages and links out to similar artists and top hits of the decade to add context. Without any friction preventing you from jumping from one great song to the next, Spotify also provides a play queue off to the side, allowing you to stash your discoveries without interrupting the currently playing song.

Spotify's music service is uniquely generous, but it's not without limitations. Using the free version of the service, full songs can be streamed on demand in unlimited numbers for up to six months (with the occasional audio ad popping into rotation, similar to Pandora). After that time, free users can only play a given track a maximum of five times per month and are also subject to a cap of 10 hours of streaming per month. If you cough up $5 per month, those restrictions (and ads) disappear, but you're still limited to listening only from your computer. At $10 per month, you can use Spotify on mobile devices (including iOS, Android, and Windows Phone 7), and even cache your favorite music and playlists for offline listening.

Performance
We are happy to report that Spotify's song streams have a near-instant response upon start-up. For the most part, the experience feels just like listening to your locally stored music collection. The illusion is broken when you go to jump to the middle of a song or hit the skip button, which introduces a minor lag.

We had no issue with Spotify's default sound quality (96-160Kbps Ogg Vorbis), but fickle users have the option of digging into the software's Preferences and enabling high-quality streaming (320Kbps Ogg Vorbis).

Spotify walkthrough (photos)

1-2 of 10
Scroll Left Scroll Right

Conclusion

Should you try it? Absolutely. Any and all music fans are encouraged to give it a whirl. The smart people at Spotify have made the free service incredibly attractive to new users, and there's really nothing to lose. Whether you find it important enough to upgrade to Spotify's premium options is entirely up to you, but they seem like a great value for any music fan with an insatiable appetite.

Skype - call a Skype user in a html page | enarion.net

Skype - call a Skype user in a html page | enarion.net

 

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

<a href="skype:echo-chinese;echo123?chat">conference chat with echo-chinese and echo123</a>