html – Livro(s) sobre meta tags

Eu gostaria de saber se existe algum livro que poderiam me recomendar sobre as meta tags do HTML, pois queria entender mais sobre elas. Pode ser em inglês ou espanhol, mas se tiver em português também, seria ótimo.

Aguardo recomendações. Se cuidem.

Drupal 8 ckeditor about Limit allowed HTML tags and correct faulty HTML

when I active the ckeditor “Limit allowed HTML tags and correct faulty HTML” text-color not show but I added color hex and not show

What SEO benefits do WordPress Tags offer that Categories do not already offer?

I am in the process of putting together a Personal Blog, powered by WordPress, where I am trying to plan out how I will be looking to integrate the Category and Tag Taxonomies.

Although I have been running many WordPress websites for quite some time now, I have never really given Tags much attention. Instead, I have organised all content solely into Categories. In short, I simply do not see how Tags provide any substantial value that Categories do not already offer (and more). Not without losing greater value, elsewhere, anyway.

Furthermore, I have yet to come across any credible evidence that supports any of the endless praises often attributed to Tags. I am just wondering if I am seriously overlooking something here or whether Tags are simply gimmicky, where many people have just gone along with it, for fear of looking silly if they go against the popular belief.

Categories v Tags: The Technical Differences

There is much debate over how Categories and Tags differ, especially when SERPs are involved. Given the often lack of credible evidence, I feel such debates are usually opinion driven. I would go as far to say that much of what I read online, is recycled material littered with the same cliches.

What cannot be argued with, are the following technical differences:

  • Categories are Hierarchical while Tags are not.
  • Categories and Tags have their own Archive Template Files.
  • Default Category Permalink: www.example.com/category/category-name/.
  • Default Tag Permalink: www.example.com/tag/tag-name/.
  • Unlike Categories, Tags can be presented as a ‘Tag Cloud’.

Of course, there are many more technical differences but the above does cover the basics. I feel it is important to highlight my awareness of the technical differences between Categories and Tags, since it is the technical differences that are often referred to rather than providing any insights into any substantial SEO beneficiary differences.

General Viewpoints

When discussing Categories and Tags, the advice is typically as follows:

  • Categories: Consider these as the Table of Contents, in a Book. They should cover broad Topics and should rank in Search Results.
  • Tags: Consider these as the Index, at the back of the Book. They should cover niche terms, which are explored on the page, and should be rel=noindex as to prevent duplicate content issues caused by the Tag Archive pages.

I have no problems in understanding the Table of Contents and Index analogy. On the surface, that makes sense. With that being said, I do have the following queries:

  • Overkill: Unlike Tags, Categories are a necessity. Let’s say we have a Category entitled ‘Movies’, why would I then have a Tag for each Cast Member? Why not simply assign the Cast Member its own Category?
  • Duplicate Content: I understand that a Tag Archive Page will simply pull a mixture of content that already appears in a variety of Categories but why is it generally accepted to rel=noindex a Tag Archive page, so that it does not appear in search results? Firstly, if it is considered duplicate content, then why have the Tag Archive at all? Secondly, when did Tag Archives become duplicate content anyway? Again, lets assume we have a Tag Archive for a Cast Member. What other Category Page will this Tag Archive be a duplicate of? Sure, the Tag Archive Page will pull a handful of content that already exists elsewhere but the Tag Archive will be unique in that the content will be specific to the Cast Member. We can further reduce its similarities by entering a unique introduction in the template as well as various other unique ‘signals’. Either way, what is the Tag offering here that a Category page does not already offer?
  • Co-Citation and Co-Occurrence: Many resources have suggested that Tags help to provide context for a page. Just like Back links. Whilst I agree on this matter, the reality is that this is something that Categories can do anyway. Thus raising the same question on what do Tags offer that is not already being offered by Categories?
  • Bounce Rate: I have come across many articles that state that Tags help to prevent Bounce Rates. It is achieved by giving visitors a link to something that they may find of interest. Again, I can see how that may work but I would ask … If such a Tag page would be of potential interest to a visitor, why is the general consensus to rel=noindex the Tag Archive page? Surely such a page of interest would be worthy of being ranked?

Conclusion

Personally, I do not see any real value in Tags. Especially, any value that cannot be already achieved via Categories. I just feel they are a little gimmicky and are being used for the sake of it. Of course, that is not to say Tags do not provide any value. I could be over looking something here.

As such, I would welcome any responses that explains the true SEO value that Tags offer. By true SEO value, I mean insights that go beyond the observational technical comparisons. So if Tags allow you to Micro Niche content, how does this help with SEO in a way that a Micro Niche Category page would not? If ‘Micro Niching’ provides SEO benefits, then why rel=noindex such a Tag Archive Page?

Any directions to credible evidence, that supports the various praises placed upon Tags, would also be grateful.

Hash tags work :)

I lived in Los Angeles and I did notarial public works. At the time, I created a Facebook fan page. I have done a bunch of hash tags and to this day I still get 100 views per day.

Anyway, I now have a new fan page for my freelance work / services. Anyone know where I can find the hot hash tags that people are looking for?

google analytics – GTM event in database is selected by debug console but does not fire tags

I work on the maisonfribourg.ch website which was developed using grav.

I am trying to track form submissions using GTM.
In the attached image, you will see a blue button, clicking on it, a popup window will appear: Screen capture showing the .

The developer indicates that the site uses dataLayer.push to include the following in the data layer:
requestFile: open
requestFile: sent

These elements respectively follow the opening and sending of a contact form.
I'll start by describing how I try to follow the OPENING of the form.
I want to follow these two actions using GTM, I created a variable named & # 39; requestFile & # 39; so that GTM knows that this is something that interests me.
The variables and triggers that I have created

I created a trigger, based on a custom event
Finally, I created a tag for that
Here is a picture of the final result
The debug console shows that the custom event is pushed into the data layer

So I think the debug console shows that a data layer element exists, but somehow no tag is triggered, not even that of Universal Analytics.

What am I missing? Did I misconfigure something?

Thanks in advance for your help

Theme – Twig escapes the tags when using raw value in the template

I print fields in a knot pattern, but Twig escapes my tags and ruins my day.

my .tpl looks like this:

  

{{ content.field_myfield.0 }}

I want to remove all the tags from the original field, then "wrap" the field in a paragraph tag with the title classroom. I found out how to get the raw value without tags based on this question.

However, it was the HTML code that actually came out:

When you wish upon a star

What am i doing wrong?

tags – pyqt5 in python The socks do not work and an error is blocked?

The error goes up as soon as I try to send send Meaasege to bread,
the task is to send a message through the filled fields.
And displays the sent and received messages in the list view window.

from PyQt5 import QtWidgets
from mydes import Ui_Form  # импорт нашего сгенерированного файла
from PyQt5.QtCore import pyqtSignal, QObject
import sys
import socket
import socks
import requests
import time
def log_uncaught_exceptions(ex_cls, ex, tb):
    text = '{}: {}:n'.format(ex_cls.__name__, ex)
    import traceback
    text += ''.join(traceback.format_tb(tb))

    print(text)

sys.excepthook = log_uncaught_exceptions

class mywindow(QtWidgets.QMainWindow):
    def __init__(self):
        super(mywindow, self).__init__()
        super().__init__()
        self.ui = Ui_Form()
        self.ui.setupUi(self)

        self.ui.BUTTONpush.clicked.connect(self.btnClicked)

        self.ui.ProxyInput.textChanged.connect(self.text_proxy)                          # +++
        self.proxy = self.ui.ProxyInput.text()

        self.ui.PortInput.textChanged.connect(self.text_port)                          # +++
        self.port = self.ui.PortInput.text()

        self.ui.TokenInput.textChanged.connect(self.text_token)                          # +++
        self.token = self.ui.TokenInput.text()

        self.ui.ChatInput.textChanged.connect(self.text_chatid)                          # +++
        self.chatid = self.ui.ChatInput.text()

    def text_proxy(self, text):                                                         # +++
        self.proxy = text
        print(self.proxy, text) 
    def text_port(self, text):                                                         # +++
        self.port = text
        print(self.port)
    def text_token(self, text):                                                         # +++
        self.token = text
        print(self.token)
    def text_chatid(self, text):                                                         # +++
        self.chatid = text
        print(self.chatid)

        self.ui.EnterText.textChanged.connect(self.text_changed)                          # +++
        self.text = self.ui.EnterText.text()

    def text_changed(self, text):                                                         # +++
        self.text = text
    def btnClicked(self):
        #self.ui.label.setText("Вы нажали на кнопку!")
        # Если не использовать, то часть текста исчезнет.
        #self.ui.label.adjustSize()
        ip = self.ui.ProxyInput.text()# = ip
        port = self.ui.PortInput.text()# = port
        api_token = self.ui.TokenInput.text()# = api_token
        chat_id = self.ui.ChatInput.text()# = chat_id
        textik = self.ui.EnterText.text()
        socks.setdefaultproxy(socks.PROXY_TYPE_SOCKS5, ip, port)
        socket.socket = socks.socksocket


        print('Нажали на кнопку' )
        print(self.ui.EnterText.text(), 'введеный текс')
        h = requests.get(f"https://api.telegram.org/bot{api_token}/sendMessage?chat_id={chat_id}&text={str(textik)}")

        self.ui.EnterText.clear()


    def mostrarFuncion(self):
        minombre = self.EnterText.text()
        micontrasena = self.contrasena.text()
        print("Nombre: " +minombre + " Contrasena: ")
        self.setWindowTitle("Nombre: " +minombre + " Contrasena:")

app = QtWidgets.QApplication(())
application = mywindow()
application.show()

sys.exit(app.exec())

mydes.py

# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file '1.ui'
#
# Created by: PyQt5 UI code generator 5.13.2
#
# WARNING! All changes made in this file will be lost!


from PyQt5 import QtCore, QtGui, QtWidgets


class Ui_Form(object):
    def setupUi(self, Form):
        Form.setObjectName("Form")
        Form.setWindowModality(QtCore.Qt.NonModal)
        Form.setEnabled(True)
        Form.resize(342, 380)
        Form.setMinimumSize(QtCore.QSize(342, 380))
        Form.setMaximumSize(QtCore.QSize(342, 380))
        self.BUTTONpush = QtWidgets.QPushButton(Form)
        self.BUTTONpush.setEnabled(True)
        self.BUTTONpush.setGeometry(QtCore.QRect(0, 350, 341, 31))
        self.BUTTONpush.setObjectName("BUTTONpush")
        self.scrollArea = QtWidgets.QScrollArea(Form)
        self.scrollArea.setEnabled(True)
        self.scrollArea.setGeometry(QtCore.QRect(0, 120, 341, 191))
        self.scrollArea.setWidgetResizable(True)
        self.scrollArea.setObjectName("scrollArea")
        self.scrollAreaWidgetContents = QtWidgets.QWidget()
        self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 339, 189))
        self.scrollAreaWidgetContents.setObjectName("scrollAreaWidgetContents")
        self.listView = QtWidgets.QListView(self.scrollAreaWidgetContents)
        self.listView.setEnabled(True)
        self.listView.setGeometry(QtCore.QRect(0, 0, 341, 191))
        self.listView.setObjectName("listView")
        self.scrollArea.setWidget(self.scrollAreaWidgetContents)
        self.EnterText = QtWidgets.QLineEdit(Form)
        self.EnterText.setEnabled(True)
        self.EnterText.setGeometry(QtCore.QRect(0, 310, 341, 41))
        self.EnterText.setObjectName("EnterText")
        self.textEdit = QtWidgets.QTextEdit(Form)
        self.textEdit.setEnabled(False)
        self.textEdit.setGeometry(QtCore.QRect(0, 0, 341, 31))
        self.textEdit.setObjectName("textEdit")
        self.ProxyInput = QtWidgets.QLineEdit(Form)
        self.ProxyInput.setEnabled(True)
        self.ProxyInput.setGeometry(QtCore.QRect(60, -1, 281, 31))
        self.ProxyInput.setObjectName("ProxyInput")
        self.textEdit_2 = QtWidgets.QTextEdit(Form)
        self.textEdit_2.setEnabled(False)
        self.textEdit_2.setGeometry(QtCore.QRect(0, 30, 341, 31))
        self.textEdit_2.setObjectName("textEdit_2")
        self.PortInput = QtWidgets.QLineEdit(Form)
        self.PortInput.setEnabled(True)
        self.PortInput.setGeometry(QtCore.QRect(60, 30, 281, 31))
        self.PortInput.setObjectName("PortInput")
        self.textEdit_3 = QtWidgets.QTextEdit(Form)
        self.textEdit_3.setEnabled(False)
        self.textEdit_3.setGeometry(QtCore.QRect(0, 60, 341, 31))
        self.textEdit_3.setObjectName("textEdit_3")
        self.TokenInput = QtWidgets.QLineEdit(Form)
        self.TokenInput.setEnabled(True)
        self.TokenInput.setGeometry(QtCore.QRect(60, 60, 281, 31))
        self.TokenInput.setObjectName("TokenInput")
        self.textEdit_4 = QtWidgets.QTextEdit(Form)
        self.textEdit_4.setEnabled(False)
        self.textEdit_4.setGeometry(QtCore.QRect(0, 90, 341, 31))
        self.textEdit_4.setObjectName("textEdit_4")
        self.ChatInput = QtWidgets.QLineEdit(Form)
        self.ChatInput.setEnabled(True)
        self.ChatInput.setGeometry(QtCore.QRect(60, 90, 281, 31))
        self.ChatInput.setObjectName("ChatInput")

        self.retranslateUi(Form)
        self.BUTTONpush.clicked.connect(self.EnterText.clear)
        QtCore.QMetaObject.connectSlotsByName(Form)

    def retranslateUi(self, Form):
        _translate = QtCore.QCoreApplication.translate
        Form.setWindowTitle(_translate("Form", "Chat telegram"))
        Form.setToolTip(_translate("Form", "

vd

")) self.BUTTONpush.setText(_translate("Form", "Send Message")) self.EnterText.setText(_translate("Form", "text")) self.textEdit.setHtml(_translate("Form", "n" "n" "

Proxy

")) self.ProxyInput.setText(_translate("Form", "127.0.0.1")) self.textEdit_2.setHtml(_translate("Form", "n" "n" "

Port

")) self.PortInput.setText(_translate("Form", "9000")) self.textEdit_3.setHtml(_translate("Form", "n" "n" "

token

")) self.TokenInput.setText(_translate("Form", "1176023984:AAE34n2FqEgY6O1TZy1tXFM-Yg0hejlQqWE")) self.textEdit_4.setHtml(_translate("Form", "n" "n" "

chat_id

")) self.ChatInput.setText(_translate("Form", "-1001342623128"))

Managing WordPress.com style subscriptions for tags?

I love the way WordPress.com lets you "subscribe" to different blogs and the management interface it offers. Is there something similar for single blog websites that allows users to subscribe to different tags?

enter description of image here

loop – Group the publications in a category according to the tags in the personalized taxonomy

For the query_post function, it is recommended not to use according to official documents.

This function will completely replace the main query and is not intended to be used by plugins or themes …….. It should not be used in the WordPress loop.

You can read this post to grab more ideas.

To query with multiple taxonomies, you can use the WP_Query class to create a custom query.

term_id;

    // custom query with multiple taxonomy as parameter
    $args = array(
        'orderby' => 'title', 
        'order' => 'ASC', 
        'posts_per_page' => -1 
        'tax_query' => array(
            'relation' => 'AND', // at the same time meet both conditions
            array(
                'taxonomy' => 'towns', // custom tag taxonomy name
                'field'    => 'term_id',
                'terms'    => array( $tag_id ),
            ),
            array(
                'taxonomy' => 'category', // default taxonomy category name
                'field'    => 'slug',
                'terms'    => array( $slug ),
            ),
        );
    );

    $query = new WP_Query( $args );

    // start the wordpress loop!
    if ($query->have_posts()) :

        // Make a header for the category, only if there are posts under it
        echo '

'.$tag->name.'

'; while ($query->have_posts()) : $query->the_post(); get_template_part('template-parts/place-listing', 'place'); endwhile; // After looping through a nested query, this function restores the $post global to the current post in this query. // properly reset may avoid problem in most of the cases wp_reset_postdata(); endif; // done our wordpress loop. Will start again for each category } // done the foreach statement ?>

Steve, I also read your previous questions that Pieter Goosen suggests using the default loop. Since you are using query_post () with an argument. In this case, WP_Query is preferred instead for performance and stability because query_post modifies the global object $ post. I guess this part is only part of the model and not the main loop. The suggestion is based on your original code and environment. You can adjust and test according to actual needs.

What is SEO? What are the important types of SEO methods? …

There are basically two types of SEO techniques: on-page and off-page.

The seo page refers to the process that is followed on the website itself. Some of the tasks involved are:

Keyword research
Meta and title tags
Meta Description
Robots.txt file
Sitemap generation
Content development
Image optimization

Off page refers to creating links and promoting your website in the search engines. Some of the most effective off-page activities are:

Guest posting
Article submission
Press release submission
Social bookmarks
Offers
Infographic submission

.