Active Topics

 



Notices


Reply
Thread Tools
devu's Avatar
Posts: 431 | Thanked: 239 times | Joined on Apr 2010 @ London
#1
Hi Guys.

I have very specific question regarding to MicroB and deep linking approach.

Flash and Ajax websites or apps if wont to support deep linking very often using this solution:

http://www.asual.com/swfaddress/samp...ash/#/contact/

However MicroB seems to be ignore everything after # which is very important here. If I am trying to enter this address reloading website from scratch. Is any chance that MicroB could support it? It's very useful since a lot of people pointing out lack of deep linking in flash as disadvantage. Which is not really true because that method exist from hmm.. 5 years or more, The only issue is laziness of developers ?
But MicroB made it useless again.

Hope there is somebody with a bit knowledge about this subject.
MicroB it's completely new thing for me.

Thanks in advance.

Edit:
For example very famous company in flash world http://www.2advanced.com/ using it as well. It's impossible for now to see their content on N900 at the moment.

Last edited by devu; 2010-05-04 at 22:20.
 
Andre Klapper's Avatar
Posts: 1,665 | Thanked: 1,649 times | Joined on Jun 2008 @ Praha, Czech Republic
#2
Is this a Flash-only issue, or is there also an example webpage without Flash?
__________________
maemo.org Bugmaster
 
devu's Avatar
Posts: 431 | Thanked: 239 times | Joined on Apr 2010 @ London
#3
Not only flash

Ajax version, working even worst because completely reloading whole website each time when script calling to address.js

http://www.asual.com/swfaddress/samples/ajax/

I've checked Midori and Chromium, those browsers can handle that without any issues.
 
devu's Avatar
Posts: 431 | Thanked: 239 times | Joined on Apr 2010 @ London
#4
I was trying to find solution to that.

Another one approach
jQuery Address API

http://www.asual.com/jquery/address/...pi/#/section/2

Same issue.
MicroB removing # sign.

so.. no Ajax support, slower flash version in 1.2 what else?
 
TomJ's Avatar
Posts: 505 | Thanked: 665 times | Joined on Oct 2009
#5
Surely the # in a url points it to an anchor element with the name attribute given after the #? Therefore #/... is invalid?
http://www.w3.org/TR/html401/types.html#type-name
__________________
Want to know how to add public holidays to your device calendar? See the instructions wiki page.

Want to improve the location bar's search capabilities? there's a wiki page for that too...
 

The Following User Says Thank You to TomJ For This Useful Post:
devu's Avatar
Posts: 431 | Thanked: 239 times | Joined on Apr 2010 @ London
#6
After your clue I founded example that working

for example
www.drupal.com/#1

But this is nor deep linking in Ajax style at all.
Anchors are pointing to elements inside one document.
Deep Linking solution only using it, and fact the web browser will not reload whole page and let you change the state, pass some variables.

But my point is, as web developer you have to prepare the content to make it compatible. Any other web browser doing it for you. I don't think we can force developers to rewrite some stuff on web because we wish to see it on MicroB

Last edited by devu; 2010-05-09 at 02:03.
 
Posts: 716 | Thanked: 303 times | Joined on Sep 2009 @ Sheffield, UK
#7
The big question here is - does linking in that way actually conform to a standard? You can't blame MicroB if that is a none-standard way of using the URL.

Basically, you call a URL there is always a chance the page will reload, that is normal behaviour AFAIK. It looks to me like what you are wanting is actually a hack relying on web browsers not caring there is invalid data after the #, I am not at all certain if that is considered normal behaviour or none-standard.

If its an actual w3 standard than fair enough, but if not then you can hardly blame MicroB for web developers poor choice of coding techniques.
__________________
http://www.speedtest.net/result/877713446.png

My Websites
CSD Projects - Flickr - UAE4Maemo (UAE4All Compatibility List)

Favourite N900 Applications
Picodrive - UAE4All

Please post your UAE4All compatibility reports. Even better, post them to my UAE4Maemo site!
Not sure how UAE4All works such as mouse emulation? Read the FAQ.

Last edited by Alex Atkin UK; 2010-05-09 at 04:19.
 

The Following User Says Thank You to Alex Atkin UK For This Useful Post:
devu's Avatar
Posts: 431 | Thanked: 239 times | Joined on Apr 2010 @ London
#8
Originally Posted by Alex Atkin UK View Post
The big question here is - does linking in that way actually conform to a standard? You can't blame MicroB if that is a none-standard way of using the URL.

Basically, you call a URL there is always a chance the page will reload, that is normal behaviour AFAIK. It looks to me like what you are wanting is actually a hack relying on web browsers not caring there is invalid data after the #, I am not at all certain if that is considered normal behaviour or none-standard.

If its an actual w3 standard than fair enough, but if not then you can hardly blame MicroB for web developers poor choice of coding techniques.
Don't get me wrong, I am not blaming MicroB, it's great browser but in this particular example doesn't work and is only one browser I know that doesn't support this "hack". Yes that's hack refer to W3C.

I do not agree personally that everything what W3C will say is good because very often they are against technology evolution. And I don't wont to guess who really is behind this organization.

But whatever we can say about this doesn't change the fact that many Ajax solutions just doesn't work because only 1 method that became popular.

Anyway if somebody would like to create MicroB friendly content I have couple of useful links. Especially if you are working with flash.

The best well know practice how to embed flash file:
http://code.google.com/p/swfobject/wiki/documentation

Something that you need to deal with to make it working
https://developer.mozilla.org/en/DOM/window.location
https://developer.mozilla.org/en/DOM...w.onhashchange

And how to deal with
http://www.actionscript.org/resource...t-3/Page1.html

This way you can prepare your own solution and actually more efficient than swfaddress method.
 
Posts: 716 | Thanked: 303 times | Joined on Sep 2009 @ Sheffield, UK
#9
What bothers me is that Ajax is "supposed" to be standards compliant, and obviously that is not.

Granted, I see no reason why that hack should not be a standard as it kinda makes sense. Its basically an anchor inside a plugin, rather than an anchor within the HTML. But it bothers me that sites might use something like that and make it essential for the site to work, when there should always be a fall-back.

I use HTML5 webkit/mozilla rounded corners on my site and a custom font, but it doesn't break anything if support is missing. Although I do not test my site in other browsers anywhere near as much as I should. Often find silly things broken in IE.
__________________
http://www.speedtest.net/result/877713446.png

My Websites
CSD Projects - Flickr - UAE4Maemo (UAE4All Compatibility List)

Favourite N900 Applications
Picodrive - UAE4All

Please post your UAE4All compatibility reports. Even better, post them to my UAE4Maemo site!
Not sure how UAE4All works such as mouse emulation? Read the FAQ.
 
Reply


 
Forum Jump


All times are GMT. The time now is 03:26.