-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3611319
By: samokk
Hi,
other questions I have about this framework....
1) Bookmarking.. Is there a way to change URLs displayed by the Browser to let people bookmark a particular page ?
2) Search engines... Since everything is javascript, I guess a search engine can't browse a website.. What is the preferred (if any) way to solve this issue ? Is it possible to create standard pages containing all the information to be indexed, and then give a link for the user to come back to the real application displaying the same page, but with all the widgets ?
Thanks for your help
Sami Dalouche
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3611666
By: tomyeh
1. Bookmark
ZK remembers the latest states of components, so bookmarking must be done by the application. For example, use a query string like state=2 to represent a bookmark, and then update components based on it.
However, ZK doesn't manipulate the URL, since it will retrieve another request and a new desktop will be created then.
2. Search engines
It should be done straight forward at the server.
<window onOk="MySearchEngine.search(t.value)"><textbox id="t"> <button onClick="MySearchEngine.search(t.value)"/></window>
Then, MySearchEngine.search is invoked at the server.
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3611795
By: samokk
thanks for your reply.
Concerning search engines, I haven't explained mysefl correctly.. I am speaking about having search engines (like google) browse the website correctly... since all the buttons, etc are javascript, I guess the only way is to have standard non-ajax pages for the search engines to index the content correctly ?
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3611934
By: nobody
Yes you are right about the traditional search engines which normally can only crawl through static HTML output. However, it is possible for search engines which can evaluate java scripts to crawl AJAX sites as well. Not sure if such search engines do exist, but it is not something theoritically impossible.
Asked: 2006-03-05 09:19:08 +0800
Seen: 594 times
Last updated: Mar 05 '06