Originally Posted by
ShirleyAtkins
Hello there, I have used Xara for few years for a simple website I have built. I am sure you have dealt with this question several times, but can you advise? I notice that Xara bulleted lists are not using the <ul> <li> tags on the rendered HTML pages. I use bulleted lists on my web pages a lot and I am concerned about their recognition by Search Engines for SEO purposes. (my SEO skills were learned many years ago and I have trouble keeping up to date) I have tried using the object name HTMLBlockText as suggested in documentation but this did not stop the spanned paragraphs being created for each bullet item. I also created a list style for the bullet list, thinking this might change how it rendered but that did not solve it.
I then created an html place holder and put the raw html for the bulleted list in there. This displayed correctly on the page with the corresponding <ul> and <li> tags in the page code. But do I really have to do this? Do you think that the Google of today will still pick up that the Xara bulleted list is actually a list? Hope that makes sense. If you can direct me to any previous thread on this that would be great.
Shirley
Shirley, a very good question and description.
I too have been frustrated with Xara's lack of attention to correct HTML semantics: a list should be presented as a list, a table as a table, ...
Currently, it is a collection of SPANs for each line.
Bullets are be presented as gylphs or blobs in the own SPAN.
I am less troubled by SEO and very much more so for Xara's poor handling for Accessibility.
Here is a very quick bodge:
- Ensure you have applied your Name htmlblocktext.
- Add your bullet(s) of choice.
- Add jQuery, if not installed with another Name, UsesJQuery. Only needed once in the design.
- Add to Website > HTML Code (body):
Code:
<script>
$("p.xr_tu").wrap("<li></li>");
</script>
- Add to Website > HTML Code (head):
Code:
<style>
li {
list-style-type: none;
}
</style>
This wraps each <p> tag, basically your bulleted item, in <li></li> tags.
It preserved what you have defined for your bullet symbol(s) (remains part of your text).
AFAICT, it reverts all the text lines back to SPANs as if htmlblocktext was not ever applied.
If I can throw a bodge together in 30 minutes, what is Xara doing all day?
It is a bodge as it worsens Accessibility scoring slightly but should improve SEO, if SEO cares.
Acorn
Bookmarks