Spry xml dataset driven page and search engines
If a page uses Spry xml dataset to present products to a
visitor, what do google and yahoo crawlers see in that page?
I'm asking because i plan to rewrite our products' static
pages using spry xml dataset, and i'd like to ensure crawlers see
the products. I haven't looked much, yet, into this pry capability,
but the products page will most probably be paginated (not sure if
possible in this capability) since there are hundreds of products.
currently, our static html pages generated good conversions
into purchases from google and yahoo searches.
It would be great if there is a real-life website that uses
this spry capability and has their pages appear in those search
engines.
thanks.
If a page uses Spry xml dataset to present products to a
visitor, what do google and yahoo crawlers see in that page?
search bot do not read / understand javascript. So they would
not index it.
Its a commen point of failure of the ajax techniques, Spry
has a handy solution for it (spry:content) wich will allow u to
overwrite 'content' if javascript is enabled so and bots will just
see the static page.
Similar Messages
-
Spry xml datasets can't recognise images
Been trying all day to load a spry xml dataset with image
information into a table using the wizard. problem is, you can't
tell the wizard that the data in one of the columns is the path to
an image, so it sees it as a string and just sticks the path in the
table. I tried putting it in as html rather than string but really
I am firing into the dark here!
What have I missed?thanks for the reply. I found the issue in the path string,
along with having to edit the html tag directly, which I wasn't
expecting, being used to DW doing it all for me! I found a lot of
the answer here:
http://www.csupomona.edu/~llsoe/42101/css/sprytables.htm
At least it stopped me being scared of html! -
Currently when I try and add a SPRY XML Dataset and hit the Get Schema button I get "Unable to locate or parse the XML Source (-1,-1). I created the XML from the Export recordset to XML tool in the Developer Toolbox. I can't seem to figure out what I am missing. Anyone else having this problem as well. It use to work then I think my system did some update from Adobe and since has stopped working. Any assistance is greatly appreciated. Thanks.
Hello,
The error usually means that the XML source that you choose within Spry XML Data Set interface is not valid.
So you should check the XML source to see if it returns a valid XML.
Regards,
Ionut -
Bookmarks and Search Engine Indexing
How do you allow a user to bookmark a page or a search engine to index a page?
I am new to JSF and I am trying to decide whether to go forward with it. The company I am doing work for is requiring that their site can be bookmarked and search engines can index it. I think that most every site would want this. I understand that there are certain pages you do not want bookmarked, like a shopping cart or a muti page form, but item pages, article pages and so on should be allowed to be bookmarked. I think I understand how JSF handles URLs and understand how the first request of a page is handled. With this, I do not see anyway a particular page can be bookmarked or indexed.
For instance, this page in JSF would not be able to be bookmarked or indexed. I have seen many other posts regarding this, but I have not seen any solutions.
I did see an idea about placing query strings in a URL:
� /article.jsp?article=383276
would be something like
� /article-383276/article.jsf
but there looks like there would be issues creating an ArticleBean on the first request and then accessing it.
I am also not sure how you would map /article-383276/article.jsf to /article.jsp, being that you would have many different URLs and then getting the URL in the address bar to reflect which article you were at.
/article-383276/article.jsf
/article-245621/article.jsf
/article-145845/article.jsf
and so on
I have also seen there are issues regarding the use of redirect.
I would sure like to use JSF on this project, but this limitation may make it impossible.
Thanks,
WarrenJSF pages accept arguments passed as part of URL via param.foo
http://forum.java.sun.com/thread.jspa?forumID=427&threadID=596838
Not sure if that servers your purpose -
Spry XML Dataset Video Gallery Question
Hi there,
We are trying to create a video gallery using a Spry XML Dataset.
It's currently working in FF and Safari, but not working in IE6-7 or Opera.
Here is a link... http://www.rightsidedesign.com.au/test/tv.html
IE seems to display the content for a second, but it doesn't load the videos or text, but then it disappears.
The elements being fed via the dataset are the video, video description (at bottom right of video) and thumbnails
Can anyone give us a hint as to what we might be doing wrong??
We followed the tutorial at... http://www.coremediadesign.co.uk/web_design_tutorials/dreamweaver_tutorials/spry_image_gal lery_adobe.html
and replaced the image with an FLV player.
Thanks for your help in advance!Hi there,
We are trying to create a video gallery using a Spry XML Dataset.
It's currently working in FF and Safari, but not working in IE6-7 or Opera.
Here is a link... http://www.rightsidedesign.com.au/test/tv.html
IE seems to display the content for a second, but it doesn't load the videos or text, but then it disappears.
The elements being fed via the dataset are the video, video description (at bottom right of video) and thumbnails
Can anyone give us a hint as to what we might be doing wrong??
We followed the tutorial at... http://www.coremediadesign.co.uk/web_design_tutorials/dreamweaver_tutorials/spry_image_gal lery_adobe.html
and replaced the image with an FLV player.
Thanks for your help in advance! -
How to track user visit my page via search engine(google)
hi there,
is it possible to track that an user visited my page via search engine ( i.e google) using servlet?
what will request.getHeader("user-agent"); return if an user comes via search engine. will it return as "google" or just the browser name. is there any other possible way to distinguish that my page visited via google or user visited my page directly. kindly post your view on this. it will be helpful for most of the projects.
Regards,
A.Check the referrer. This is the URL where the request is coming from.
String referrer = request.getHeader("referer"); // Yes, with the legendaric misspelling.If the user used Google, this will come from the Google domain.
Keep in mind that the client has full control over what it sends along the request, so it could also spoof the referrer value. But at least this solution will cover the majority of the users anyway. -
How to show an entry with specific ID from spry xml dataset?
I have a spry xml dataset, can I show only one record
specified by, say, unique ID?yeah, I first posted this one, then found out that my other
message was replied:) -
How can we protect/hide our Business Catalyst-based website from the public and search engines while we are developing it? It seems like anyone can access it, even though it is not complete.
We are using Dreamweaver to build our website, if that helps. Is there any way to have a test instance of BC that is password protected for development and testing? Thank you for your ideas.I have something in my room but I do not tell you it is there or where it is or what it does.
How do you know unless I show you?
Do not share your links out, the sitemap is not on till you activate the system.
I have built BC sites for over 5 years and only one case for me of a client posting out an unfinished site got it indexed by google. -
I like the framework and the ease of use. Does anyone know to
what
degree the search engines will evaluate the spry tags, if at
all? My
guess is that a hybrid will be needed as discussed at the
bottom of this
page:
http://labs.adobe.com/technologies/spry/articles/data_set_overview/,
and
here:
http://domscripting.com/blog/display/41.
Any other ideas? All of my customers are extremely
search-engine sensitive.
RodHey Rod,
As far as I know, search engines read source code. In that
regard, Spry Data in general will fail since, the content is not
kept in the source code.
Check out the data set overview about the spry:content
attribute. That is used so that pages are more accessible and it
helps search engine stuff as well.
It allows you to have static content on the page, but
spry:content will replace that content on the screen with its data.
So this allows for content for search engines to read, plus
the dynamic aspect of spry data.
But in general, Spry and Ajax, doesn't yet play well with
these other technologies.
Hope this helps.
Donald Booth
Adobe Spry Team -
I suspect some toolbar has changed the search engine on my home page which is the standard Mozilla Firefox start Page. It used to be google but now is Ask. I want to change it back to Google.
You can open the <b>about:config</b> page via the location bar and do a search for <i>ask.com</i> via the Filter at the top of the about:config page.<br />
You can reset all <i>ask.com</i> related prefs that appear bold (user set) via the right-click context menu to their default values.
Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
*Don't make any changes on the Safe mode start window.
*https://support.mozilla.com/kb/Safe+Mode
*https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes
*http://kb.mozillazine.org/Preferences_not_saved
*https://support.mozilla.com/kb/Preferences+are+not+saved -
I cannot change or reset my home page or delete the current ones.
I have restored Firefox that didn't work either. So I deleted Firefox and downloaded
a new version. Still the same trouble.
I also cannot change to a new search engine but I can delete the current one or restore it (Google) Google.
HELPIt could be the work of one of your add-ons, or even add / mal-ware.
Look thru your add-ons list and make sure you know what each one is
there for. Also,
check the programs that are on your computer
'''''Windows > Start > Control Panel > Uninstall Programs.'''''
Go thru the list and use a web search to check any that you don't
know what they are.<BR><BR>
'''''[https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-caused-malware Troubleshoot Firefox Issues Caused By Malware]'''''<BR><BR><BR>
'''''[https://addons.mozilla.org/en-US/firefox/addon/searchreset/?src=collection&collection_id=33bf10fa-666d-45a2-9bc9-491ce21671c6 SearchReset]'''''<BR>
This add-on is very simple: on installation, it backs up and then resets your
search preferences and home page to their default values, and then uninstalls
itself. This affects the search bar, URL bar searches, and the home page. -
Safari 5.1.8 slow loading pages missing functions and search engines
As of this morning (3/30/13) I feel like my internet provider removed the guts of my internet connection. I have a Comcast modem and use an ethernet to connect it to my computer. I also have an ATT smartphone which gives me a mobile hotspot ability and everything with my internet is fine using the wi-fi connection. The problem using the secure line/modem from Comcast is that it does not allow me to use any of the 3 search engines and unexpectedly quit Yahoo the only time the connection was established. Facebook doesn't load. If you give things enough time my gmail will look like it's up but emails don't open. the msnbc portal will show the visual headlines but not the videos for its Nightly News. Hulu works fine. I watched 3 episodes of a Network show. Comcast is sending technicians out to check the cable interface. Or is it something with Safari, or another recent Sofware Update item? Thanks for any help.
How do you turn IPv6 off in Safari 5.1.10?
I don't see anyway to do this.
Lately, Safari is not only loading slowly upon initial opening, but it's also slow to load new pages, and it's regularly loosing contact with webpages in previous tabs I opened. I'll go back to a tab, after moving to a new one, only to find it blank, and then I have to reload it, which takes f o r e v e r !
Then I find my entire system get stuck and I can't do anything. Sometimes I can force quit an application and other times not. Many times lately, I find my computer is just frozen and all I can do is reboot it manually to get it working again. -
Passing a Spry XML Dataset to a function
I am very much a noob at this. How would I pass my XML dataset to a function so that the function would check a "date" field in the XML file and color the corresponding date cell in a YUI calendar? I have looked through the YUI Forums, but couldn't find any good examples. I am making a calendar of events that uses a calendar to filter the events in my XML file. I want the calendar to highlight the dates that have an event scheduled, so the users get a visual pointer to when events are scheduled. Here is my code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:spry="http://ns.adobe.com/spry">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<script src="SpryAssets/xpath.js" type="text/javascript"></script>
<script src="SpryAssets/SpryData.js" type="text/javascript"></script>
<script src="SpryAssets/SpryDataExtensions.js" type="text/javascript"></script>
<script src="yui/2.6.0/build/yahoo-dom-event/yahoo-dom-event.js" type="text/javascript"></script>
<script src="yui/2.6.0/build/calendar/calendar-min.js" type="text/javascript"></script>
<script src="SpryAssets/SpryDOMUtils.js" language="javascript" type="text/javascript"></script>
<script type="text/javascript">
<!--
var dsMDEvents = new Spry.Data.XMLDataSet("schedule.xml", "events/event", {sortOnLoad: "date", sortOrderOnLoad: "ascending"});
var dsEvents = new Spry.Data.XMLDataSet("schedule.xml", "events/event", {sortOnLoad: "date", sortOrderOnLoad: "ascending"} );
dsEvents.setColumnType("date", "date");
dsEvents.setColumnType("@id", "number");var thisDate = new Date();
var todaysDate = mydateFormat(thisDate);
function pad(v)
return (v<10?"0"+v:v);
function mydateFormat(inDate)
var myData = inDate;
var gToday = new Date(myData);
var tToday = pad(gToday.getMonth()+1).toString() + "/" + pad(gToday.getDate()).toString() + "/" + gToday.getFullYear().toString();
return (tToday);
}//-->
</script>
<link href="yui/2.6.0/build/fonts/fonts-min.css" rel="stylesheet" type="text/css" />
<link href="yui/2.6.0/build/calendar/assets/skins/sam/calendar.css" rel="stylesheet" type="text/css" /><link href="SpryAssets/SpryMasterDetail.css" rel="stylesheet" type="text/css" />
</head><body>
<div id="Schedule">
<div id="calendarDiv"></div>
<script type="text/javascript">
// BeginWebWidget YUI_Calendar: yuicalendar1
YAHOO.namespace("calendar"); (function() {
var cn = document.body.className.toString();
if (cn.indexOf('yui-skin-sam') == -1) {
document.body.className += " yui-skin-sam";
YAHOO.calendar.init = function() {
YAHOO.calendar.cal1 = new YAHOO.widget.CalendarGroup("cal1", "CalendarDiv", {PAGES:3}); // The following event subscribers demonstrate how to handle
// YUI Calendar events, specifically when a date cell is
// selected and when it is unselected.
// See: http://developer.yahoo.com/yui/calendar/ for more
// information on the YUI Calendar's configurations and
// events.
// The YUI Calendar API cheatsheet can be found at:
// http://yuiblog.com/assets/pdf/cheatsheets/calendar.pdf
//--- begin event subscribers ---//
YAHOO.calendar.cal1.selectEvent.subscribe(selectHandler, YAHOO.calendar.cal1, true);
YAHOO.calendar.cal1.deselectEvent.subscribe(deselectHandler, YAHOO.calendar.cal1, true);
//--- end event subscribers ---//
function dateHighlightRenderer(workingDate, cell) {
var isHighlighted = false;
var date = workingDate.getMonth()+1 + "/" + workingDate.getDate() + "/" + workingDate.getFullYear();
/*if (rows["date"].search(date) != -1) {
isHighlighted = true;
if (date) {
isHighlighted = true;
if (isHighlighted) {
YAHOO.util.Dom.addClass(cell, this.Style.CSS_CELL_HIGHLIGHT4);
//YAHOO.calendar.cal1.addRenderer("11/14/2009, 11/1/2009, 11/29/2009, 11/30/2009", YAHOO.calendar.cal1.renderCellStyleHighlight1);
for (var i = 1; i <= 7; i++) {
// Attach to the Weekday, instead of individual dates/ranges, to improve performance.
YAHOO.calendar.cal1.addWeekdayRenderer(i, dateHighlightRenderer);
YAHOO.calendar.cal1.render();
var todayFilterFunc = function(dsMDEvents, row, rowNumber)
if (row["date"] >= todaysDate)
return row; // Return the row to keep it in the data set.
return null; // Return null to remove the row from the data set.
dsMDEvents.filter(todayFilterFunc);
} function selectHandler(event, data) {
// The JavaScript function subscribed to yuicalendar1. It is called when
// a date cell is selected.
// alert(event) will show an event type of "Select".
// alert(data) will show the selected date as [year, month, date].
var formattedDate = pad(data[0][0][1]) + "/" + pad(data[0][0][2]) + "/" + data[0][0][0];
var dateFilterFunc = function(dsMDEvents, row, rowNumber)
if (row["date"].search(formattedDate) != -1)
return row; // Return the row to keep it in the data set.
return null; // Return null to remove the row from the data set.
dsMDEvents.filter(dateFilterFunc); // Filter the rows in the data set.
}; function deselectHandler(event, data) {
// The JavaScript function subscribed to yuicalendar1. It is called when
// a selected date cell is unselected.
}; // Create the YUI Calendar when the HTML document is usable.
YAHOO.util.Event.onDOMReady(YAHOO.calendar.init);
// EndWebWidget YUI_Calendar: yuicalendar1
</script>
<div class="MasterDetail">
<div spry:region="dsMDEvents" class="MasterContainer">
<div class="MasterColumn" spry:repeat="dsMDEvents" spry:setrow="dsMDEvents" spry:hover="MasterColumnHover" spry:select="MasterColumnSelected">{date}<br />
{name}<br />
{starttime} - {endtime}</div>
</div>
<div spry:detailregion="dsMDEvents" class="DetailContainer">
<h2 class="DetailColumn">{name}</h2>
<p class="DetailColumn"><strong>Date:</strong> {date}<br />
<strong>Time:</strong> {starttime} - {endtime}</p>
<p class="DetailColumn"><strong>Where:</strong> {location}<br />
<strong>Type:</strong> {type}</p>
<p class="DetailColumn"><strong>Contact:</strong> {contact}</p>
</div>
<br style="clear:both" />
</div>
</div>
</body>
</html>
and here is a snipet of my xml file:
<?xml version="1.0" encoding="utf-8"?>
<events>
<event id="1">
<name>Dreamweaver CS4 Intermediate</name>
<date>10/15/2009</date>
<starttime>8:00 am</starttime>
<endtime>5:00 pm</endtime>
<location>Room 1</location>
<type>Training</type>
<contact>Contact 1</contact>
</event>
<event id="2">
<name>InDesign CS4 Advanced</name>
<date>11/14/2009</date>
<starttime>8:00 am</starttime>
<endtime>5:00 pm</endtime>
<location>Room 2</location>
<type>Training</type>
<contact>Contact 1</contact>
</event>
<event id="3">
<name>Flex CS4 Data Services</name>
<date>10/15/2009</date>
<starttime>1:00 pm</starttime>
<endtime>5:00 pm</endtime>
<location>Room 2</location>
<type>Meeting</type>
<contact>Contact 2</contact>
</event>
<event id="4">
<name>Another Dreamweaver CS4 Intermediate</name>
<date>11/30/2009</date>
<starttime>8:00 am</starttime>
<endtime>5:00 pm</endtime>
<location>Room 1</location>
<type>Training</type>
<contact>Contact 1</contact>
</event>
<event id="5">
<name>Another InDesign CS4 Advanced</name>
<date>11/29/2009</date>
<starttime>8:00 am</starttime>
<endtime>5:00 pm</endtime>
<location>Room 2</location>
<type>Training</type>
<contact>Contact 3</contact>
</event>
<event id="6">
<name>Another Flex CS4 Data Services</name>
<date>11/01/2009</date>
<starttime>1:00 pm</starttime>
<endtime>5:00 pm</endtime>
<location>Room 2</location>
<type>Meeting</type>
<contact>Contact 2</contact>
</event>
<event id="7">
<name>More Training</name>
<date>11/02/2009</date>
<starttime>8:00 am</starttime>
<endtime>10:00 am</endtime>
<location>Room 3</location>
<type>Training</type>
<contact>Contact 4</contact>
</event>
<event id="8">
<name>Another Training</name>
<date>10/25/2009</date>
<starttime>9:00 am</starttime>
<endtime>11:00 am</endtime>
<location>Room 3</location>
<type>Training</type>
<contact>Contact 4</contact>
</event>
<event id="9">
<name>Some More Training</name>
<date>12/02/2009</date>
<starttime>1:00 pm</starttime>
<endtime>3:00 pm</endtime>
<location>Room 3</location>
<type>Training</type>
<contact>Contact 4</contact>
</event>
</events>
The function "dateHighlightRenderer" is where I am running into the problem. How do I code this so that "dateHighlightRenderer" can read the "date" field in my XML file?I have tried the getData() function for this. However, I am not sure if I am using it right:
var d = dsMDEvents.getData();
for (var i = 0; i < d.length(); i++) {
var day = d[i]["date"];
YAHOO.calendar.cal1.addRenderer(day, dateHighlightRenderer);
When I run this for loop, my calendar will not appear on the page. Any suggestions? -
I am new to DW and have a question I am hoping someone will
answer. I am using Spry.Data.XMLDataSet found in SpryData.js. I
have it working correctly, but if I change the XML content and
attempt to reload the page using this data it does not show the
changes. I have declared a dsObj called dsXMLdata that the
XMLDataSet method loads. How can I cause the dsXMLdata to reload
from the file. I would assume this would happen each time the
Spry.Data.XMLDataSet method is called, but I never see my changes
unless I rename the file and read the newly named file.. Kind of a
PIA.
Thanks.,
PatI am brand new to Spry, and ran into the same problem. I
believe you will have the functionality you are looking for if you
use the subpaths command in your dataset declaration. Otherwise,
your XML dataset will be limited to the data nodes in the first
tier of the <root> node (ie. only channel) You can try code
like this:
var ds1 = new Spry.Data.XMLDataSet("test.xml", "root", {
subPaths: ["channel/data1","channel/data2"] });
then access through the tags {ds1::channel/data1} ....
If you download the prerelease 1.5 spry package it has the
API docs with samples. One of the samples is about nested XML data
structures and is a good source to find out what you can do.
Hope this helps
Josh -
Flash and Search Engine Indexing
Hi all,
I am sure this is a newbie question that has been answered before but does using
flash on a website affect how the site is indexed by the main search engines?
thanks
TermPatWell in theory, search engines like Google are suppose to be able to read the text used in Flash Website, improving SEO somewhat. But in my experience, it has not developed to a point that is equal to a straight HTML site. In particular, if you are using xml files to provide text or other data to the Flash pages, I don't see Google indexing that text.
So as a backup, I would suggest using swfobject to place your Flash on the Web page. Then add plenty of regular HTML as "alt content" to descibe in great detail the graphic elements. Since most viewers will not see this "alt content" you can actually over do the descriptions and get in MORE unique phrases, descriptions, and text content, than if you were just using HTML.
So in effect, you can get your graphic elements displayed with Flash but the text data described in HTML. Is it more work? Yes, But if SEO is important to you, Flash of and by itself will not index as well as just HTML.
Here's an example of using "alt content" to descibe the products in much greater detail than what you actually see on the Flash page. First view the Web page, its just a simple .swf with a little text on it. Then view the source code and see the "alt content" that lies behind the Flash.:
http://www.ksowetsuits.com/
For more info on swfobject:
http://code.google.com/p/swfobject/
Here's a little tip to measure exactly when and what gets indexed on your site. Create a unique word that cannot be found ANYWHERE on the Internet, something like "myuniquewordisdellamagestic"...can't be found anywhere on Google.
So include your special words in both your Flash file as well as the swfobject "alt content", using 2 unique words, to see which is indexed first. As soon as that word is indexed, it will appear top position, first page. So Google for it every so often, once it shows up you know that content has been indexed. See which gets indexed first, the text in Flash or the text in the "alt content".
I had one site where I used a complete text narration of a Flash video as the "alt content" and had the VIDEO (actually it's alt content) indexed within 4 hours. Now that's a case where using Flash PLUS alt content give a better WEb page than just the Flash alone or just the text narration alone. Best of both worlds I would say.
Best wishes,
Adninjastrator
Maybe you are looking for
-
Passing SOAP header while invoking a web service partner link from BPEL
I followed the steps of adding bpelx.inputheadervariable. Which is supposed to add the soad header. But after running the BPEL process if I see the message in the console, I don't see the SOAP header. Is there any way to see how the SOAP header is pa
-
Non-editable element in an InDesign document.
Hello, all. I need to add a non editable element to my InDesign document. This element will be my copyright notice. Although I will be sharing this InDesign document with others and will allow them to modify or customize it to their needs I wish to m
-
Like the topic - "Yosemite is awful- unable to empty trash, volume options are haywire, error codes on file management, and files won't replace when moved. What are my options at this point?" I installed this OS, and it looks nice, but it's terrible
-
ITunes download error 50. Time out problem?
How do you adjust the security or time out setting to allow downloads to finish?
-
I need help for printing service in Java
Hello : I need to print some file from java program . I did every thing , but when i run the program : it didn't return any printer as print service from the system, although I install 2 printers in my system. by the way : i use Windows XP