Extension talk:HTML Tags

From MediaWiki.org
Jump to navigation Jump to search

Whe I try to dowload HTML Tags, I get the "Semantic DrillDown" extension... Bad download link ?[edit]

At the end of the sentence : You can download the HTML Tags code, in .tgz format, here.


Thanks Nicolas NALLET (talk) 16:24, 4 November 2012 (UTC)

Oops! That was a copy/paste error. Thanks for pointing that out; it's fixed now. Yaron Koren (talk) 17:22, 4 November 2012 (UTC)

Ok thanks it works great ! both download and extension !

Nicolas NALLET (talk) 11:47, 5 November 2012 (UTC)

It's great to hear that the extension is working for you! Yaron Koren (talk) 13:22, 5 November 2012 (UTC)

Application example : displaying a web site screenshot thumbnail[edit]

This extension allows to easily display a website screenshot thumnail with the help of a website screenshot provider.

You can see an exemple here

Cool! Yes, I guess there's no way right now in MediaWiki to have an external image that links to another URL. Yaron Koren (talk) 19:54, 5 November 2012 (UTC)

About Microdata[edit]

I originally figured that it might be an idea to add this reference since the intro already referred to some kind of Metadata. However I was indeed not telling the whole story. Most Microdata may be added without using this extension, but I think one is lost when trying to add Breadcrumbs data without using this extension. Cheers --[[kgh]] (talk) 06:54, 22 May 2014 (UTC)

Oh, okay - I really don't know that much about microdata stuff. I just added in a modified version of what you wrote - hopefully it make sense... Yaron Koren (talk) 00:17, 23 May 2014 (UTC)
That's great and thank you for improving the note. I think this will also increase the overall usage of this extension. No worries about microdata. I just started to dig in into it. It's another way to help search engines to grab content more meaningful way. Cheers --[[kgh]] (talk) 08:38, 23 May 2014 (UTC)

Doesn't work with nested tags[edit]

When you use nested tags, the first </htmltag> closes the first opened tag, and not the last opened one. As a second point, the inner <htmltag> doesn't close, instead the </htmltag> is written in the document Example:

<htmltag tagname="x">
<htmltag tagname="y">
</htmltag>
</htmltag>

results in

<x>
<y>
</y>
</htmltag> <--written, not as a html tag
That's too bad... I never thought about the nested thing. I can't think of any way to that get working easily, unfortunately; you may have to use some other method, like the Widgets extension. Yaron Koren (talk) 01:32, 8 July 2014 (UTC)
You can always use the wiki tag parser function:
{{#tag:htmltag|<htmltag tagname="Y"></htmltag>
|tagname=x
}}
Wess (talk) 19:36, 16 March 2017 (UTC)

Specific Pattern in Attributes[edit]

Hello,

Is it possible to allow a certain pattern for attributes? E.g if I wanted to allow a specific domain to be in iframe tag's src attribute.--194.150.65.139 09:11, 5 November 2016 (UTC)

No, unfortunately. Yaron Koren (talk) 02:36, 8 November 2016 (UTC)
Any plans on including the feature? --Id508317 (talk) 12:29, 8 December 2016 (UTC)
No - although I'd be happy to accept a patch that does this. Yaron Koren (talk) 13:52, 8 December 2016 (UTC)

how should do to add <div itemscope itemtype="http://schema.org/JobPosting"> ?[edit]

how should do to add <div itemscope itemtype="http://schema.org/JobPosting"> ?