David Karger wrote:
> I've been experimenting with this a bit on my pubs page, and have run 
> into some quirks.  Biggest is that since the exhibit itself is not in 
> script tags, any bits of it that a non-scripting browser understands get 
> rendered---in particular, I get some funny fragments of some of my 
> templates.  Not a big problem for search engine spiders, but a mild 
> nuisance.  
You can add style="display: none" to the outermost HTML element of each 
lens template.

> The recently posted "hyde-me" script does not have this 
> problem.  Also, would be nice if the copy buttons didn't show up in the 
> copied html, since they are obviously useless there.  Finally, it would 
> be nice to separate the header material from the content in the copy 
> since the copier probably wants only the latter.
>   
I was told that Google doesn't like <noscript> and may penalize pages 
with <noscript>... So perhaps the "hide-me" trick is necessary.

David

> David Huynh wrote:
>   
>> A solution that has been suggested for this invisibility problem is to 
>> add an option for copying off the generated HTML. I've implemented just 
>> that. To see how this works, go to my Publications page
>>
>>     http://people.csail.mit.edu/dfhuynh/publications.html
>>
>> click on "Copy All" and choose "Generated HTML for this view". That's 
>> the HTML to copy off and insert back into the original HTML source code, 
>> surrounded by <noscript> ... </noscript>. If you look at the source code 
>> of my page, you'll see that noscript section. You can turn off 
>> Javascript in your browser and see how the page is rendered. If 
>> Javascript is on, that section is ignored by the browser.
>>
>> (I've tested this on Firefox, Safari, and IE7.)
>>
>> You should use that copy command only when looking at a tile view or a 
>> tabular view. Don't try it on a map view or a timeline view--it won't 
>> give you anything useful. :-)
>>
>>
>> So, I think this solves most of the invisibility problem for exhibits. 
>> As for the other RDF data formats ...
>>
>> David
>>
>> _______________________________________________
>> General mailing list
>> [email protected]
>> http://simile.mit.edu/mailman/listinfo/general
>>   
>>     
> _______________________________________________
> General mailing list
> [email protected]
> http://simile.mit.edu/mailman/listinfo/general
>   

_______________________________________________
General mailing list
[email protected]
http://simile.mit.edu/mailman/listinfo/general

Reply via email to