Is it possible to classify RTD pages using tags (sort of taxonomy)? - read-the-docs

I would like to add for every page a sort of classification using comma separated tags (i.e. javascript, REST, HTML5).
And I would like to have a way to use one of this tag, to open the list of the pages classified using this tag.
Is it possible?

Related

Is there hierarchical taxonomy support in Umbraco 8?

we are considering to use Umbraco 8 as CMS system for displaying a number of items.
Those items must be tagged with tags from multiple hierarchies.
For example:
ITEM: horse, tags: livingbeing/animal/mammal, word/english/noun
Is this possible with Umbraco 8?
Not out of the box, I'd say. Umbraco has a Tags datatype within which I guess you could name the tags whatever you want, including / and whatever. But they would still just be a simple list of tags.
Also, the built in Tags datatype allows editors to create whatever new tags they want, there isn't an option to restrict editors to choose from a defined set of tags.
One common solution to this is to create simple content nodes (in a hierarchy if you want) and use them as "tags" instead. Then you can fairly easily create a tag picker with which you are only allowed to select existing nodes/tags.

I would like to put more than one website in a single html file

I want to have a couple html websites in a single file. Is this possible?
A website is not just an html "page".
An html file represents the document structure of one page.
Theoretically, saying that you want to represent multiple websites on one html file is like saying that you want to write different documents (your tax files, a book, a ticket for a movie, etc) based on one single template.
While theoretically you can dinamically change the structure of such a document, there is absolutely no point in doing so.
HTML describes the structure of Web pages using markup.
So why would you use a single HTML file to represent different web pages?
Sorry, but you can't. It's not possible. Why would you even do it?
The only thing that comes into my mind is to use <embed>tag, for ex. But it's probably not what you rly want
You must be more specific. The question is vague. In general you can write a code that can change dynamically the website appearance after inputs/actions from the users. For example a JavaScript code that shows/hides something (or the complete website) as long as the mouse is over an element or select/deselect an element. It all can be in a single html document (html5, css3, JavaScript/JQuery).

Exportings pages from InDesign using section tag in HTML5

Is it possible to export pages tagged using <section> from InDesign CC?
Using the Articles workflow or Paragraph Styles don't seem to allow for the flexibility to specify the tag for export at the page level.
There seems to only be the ability to control classes and select from a limited number of predefined HTML tags at the paragraph level.
I saw a somewhat similar question, but it's almost two years old so I'm hoping this is possible now.
Ultimately looking for easiest way to go from InDesign to Reveal.js
I was eventually able to find a way to setup section tags that's fairly simple in InDesign.
Go to Object Styles and select the style. If you're not using any styles in the document just double click on Basic Text Frame
Under Basic Attributes go down to Export Tagging.
In the Tag field you can specify any tag, so just type section.
When you export to HTML you'll see all the content within that text frame is inside a section tag.
The same idea works with Paragraph Styles, but it's somewhat confusing as InDesign list a handful of tags, but what's not intuitive is that you can simply type in any HTML tag you want.

Extract content from a page

I need to recognize content in a page - to do something as so http://www.alchemyapi.com/api/text/ (I need to get the HTML so I cant use this API)
What logic can I use to accomplish this? (Coding language is not matter)
Here what I did (with a good result) - needs a lot more fixes...
Find the most text in page so don't have a breaking tags - ignore inline tags (span, b, etc...)
Go up one level and count breaking tags (br, p, div, etc...)
Go up another level and count tags
Compare tags count from step 2 with step 3
If there is a lot of different we stop here - if not we go to step 3
Look for the Boilerpipe library. It is a comprehensive solution.
Using the Boilerpipe library, you can specify the output as HTML. So you get the main content(the article) while still preserving its HTML tags.
Another good alternative would be to use Goose.
It allows more fields(published date, author, main image in article and a few more) than Boilerpipe (title, content)
You need a parser for navigate the DOM, in the NuGet packages you can find some helpful parser tools like this

Is there an html command to bypass an html filter?

I am trying to add an html link to a website but the website strips out the html:
When I view the source I get this:
<a href = "http://www.soandso.com">http://www.soandso.com/</a>
instead of what I actually want which is this:
www.soandso.com
Is there an html command to bypass the filter?
Almost certainly not.
Most sites quite rightly don't just let users inject arbitrary HTML. That's the source of XSS (cross site scripting) vulnerabilities.
If the site strips (or escapes) tags, just put in www.example.com and that will have to do.
No. The filters are there for a reason; to prevent you from adding your own HTML to the website. There is no standard for how the filters work, but they will generally either escape all HTML that isn't allowed, or strip out HTML that isn't allowed. There is no general purpose way to get around the filter.
First check if the site uses any sort of special markup. For instance, Stack Overflow supports a variation of Markdown. Other sites support Textile, or BBCode. If that is the case, check the associated reference on how to include a link. If none of those are the case, then just use the URL without the <a> element wrapper.