See tested PHP solution in post #15
See tested PHP solution in post #15
Last edited by proberts; 2009-06-25 at 21:25. Reason: OVI Product ID numbers changed
That's nice, but there is still the problem of the default device of Ovi. If you want to refer someone to an application that isn't available on the Nokia 5800 XpressMusic, then the application will not be available as the default device for unsigned users is the 5800.
At least for me on Firefox and IE, the above code will go to an app even if it's not available for the 5800.
The app in the example code isn't available for the 5800. The hidden iframe goes to the homepage and sets the device to "Any Phone", then after the homepage is finished loading, the window is redirected to the app page.
If it doesn't do this, could you let me know what platform and browser you use. I'll see if I can debug it.
Sorry, I didn't scroll right to see the src parameter.
This definitely works. Great Job!
Nice trick, thanks for sharing!
Doesn't work on Safari (4.0.1) and Opera (9.25) though:
On Safari you get:
(the iframe src is from a different domain than the page's domain)
NM - Found the error console "write defaults" thing.
If anyone has any thoughts, please join in.
Last edited by proberts; 2009-06-23 at 04:24.
please note that linking directly to a product on Ovi is unsafe because Ovi may change the product's URL without warning!
As strange as this may sound, they did so today... I thought that our app disappeared from the store again, but it turns out that it didn't - Nokia simply changed the application's page URL for some reason (!)
That's not all - when you search for our app, the search result point to the old app URL, so when the user clicks on the result he gets an "Item no longer available error".
My conclusion is therefore that it is unsafe to link directly to a product page on Ovi - which is really really bad, because web linking can substantially boost Ovi's popularity among users and publishers (like it did for Apple's app store).
I have a php script I've tested in:
Firefox 3 - OSX, XP, Vista, Linux
IE7 - XP
Safari 3 - OSX
It seems to work fine on all these platforms. Could someone please try in Opera and Safari 4 and let me know if it works. I don't have Opera to test. Opera will use the same solution I used for Safari.
This will bring up one of our products that doesn't have a 5800 build. You can go to a different product by adding "?cid=" and the OVI content ID number (check first - they've changed).
Please try it and report which OS & Browsers pass and fail. NOTE: For Safari, I had to exit completely between tests as the first try would always fail but subsequent tries would all pass.
If this solution works, I'll clean up the code and post the php script here.
Just tried your URL on a Mac with the following browsers: Safari 4, Opera 9, Google Chrome Beta, Firefox 3
It works well on all of them.
Just checked IE8 under Vista and it works.
Are there any other browsers that should be checked? Konqueror is the other other one that I can think of, which I can check tomorrow, though Safari says it's forked from Konqueror, and a fail on Konqueror wouldn't be a show stopper. :P
It seems to work well on the following browsers too (tried via http://browsershots.org):
when do you expect to share your script's code?
Ok...here's the PHP. It looks like OVI changed content ID numbers again this morning and the reviews, related, and searching are back.
Last edited by proberts; 2009-07-10 at 01:17. Reason: ending ?> not displaying in [CODE] block