browsers – Do tags that are not recognized by HTML affect SEO?

Without additional context, it’s difficult to give you a concise answer to your question. It would be helpful to know more about these custom tags you’re using, how they’re implemented, and how they are ultimately rendered onto the page.

Assuming your custom tags are implemented using the Web Components API (a rather big assumption…), I don’t think there should be any impact to SEO. Web Components are implemented through a shadow DOM but ultimately get attached to a “shadow host”, which is a regular DOM element recognizable by all browsers (and crawlers, etc.).

So for example, if your <new_tag> is implemented via an h1 DOM element, it would ultimately be rendered as an h1 and can then be detected as usual for SEO (or accessibility) purposes.

I’d suggest implementing your custom element(s), then inspect the page in the browser (F12 to access Chrome DevTools) and see how it gets rendered in the HTML.

Read environment tags from other dockers in docker compose

I want to know if it can be done and if so, how to do it, to be able to read the environment tags.

I leave an example of what I have seen and I am not able to find information with which to understand how it does it (docker compose):

version: '3'

services:
  nginx-proxy:
    image: budry/jwilder-nginx-proxy-arm:0.6.0
    restart: always
    ports:
      - "80:80"
      - "443:443"

  letsencrypt:
    image: jrcs/letsencrypt-nginx-proxy-companion:stable
    restart: always

  nginx:
    image: tobi312/php:7.4-fpm-nginx-alpine-arm
    restart: always
    expose:
      - "80"
    environment:
      - VIRTUAL_HOST=example.host.com
      - LETSENCRYPT_HOST=example.host.com
      - LETSENCRYPT_EMAIL=example@mail.com

In this example you can see that the dockers nginx-proxy and letsencrypt are able to read the tags VIRTUAL_HOST, LETSENCRYPT_HOST and LETSENCRYPT_EMAIL. My question is, how do they do that and how can I do it? I would like to use this in a dockerFile, but I expect anything

Thanks in advance for any help

plugins – Can I create tags from a product description and map that info automatically for filter searching?

I have an aggregator and of course, the better the filtering, the better the experience.
I currently have most of what I want as an attribute or tag for filtering, but the last I’d like is embedded in the additional information tab and I’m wondering if there’s a way to ‘scrape’ this and give people the opportunity to filter by this info?

html5 – How Important Are Tags for SEO?

What do you think? Seems to me that adding <main></main> tags around your page content tells Google what content is most important and unique to this page. Google then knows to only look at the content and links within the tags for indexing. It can largely ignore <header>, <nav>, <aside>, and <footer> content. Anyone agree? Anyone able to cite an authoritative resource on this subject?

I know WordPress automatically adds <main> tags around page content. Seems Google likes WordPress sites, say over Weebly, Wix, or SquareSpace … or other drag n’ drop site builders. I wonder if it’s partly because WP is good with HTML5 semantic tags. I even see WP drag n’ drop editors (like Elementor) omit HTML5 markup tags by default. And likely the developer is unaware and doesn’t go back and add them. Are those sites hurting their SEO? Does omitting HTML5 markup, specifically <main> make it more difficult for Google to index and understand the page?

I’m surprised I can’t find much on this topic on the internet.

8 – How to add Open Graph Tags in Custom Module detail page?

For Node I already used https://www.drupal.org/project/metatag

For my custom module’s detail page would like to add Open Graph tags for FB share.

So in my_test.module

function template_preprocess_my_detail_page(&$variables) {

  $items = $variables('item');

  $title =  $items->title;

  $og_title = (
        '#tag' => 'meta',
        '#attributes' => (
          'property' => 'og:title',
          'content' => $title,
        ),
      );

  $variables('page')('#attached')('html_head')() = ($og_title, 'og_title');
}

Above one suppose to work but NOT WORKING.

function MY_MODULE_page_attachments_alter(array &$page) {

  $og_title = (
        '#tag' => 'meta',
        '#attributes' => (
          'property' => 'og:title',
          'content' => '',
        ),
      );


  $page('#attached')('html_head')() = ($og_title, 'og_title');
}

Above one is working, But I’m not able to get Page Variables. How will I get $variables in above function?

This one called in all pages of module, but I want to call only on detail page as mentioned in proprocess function

How Google bot analyzes dialog tag’s content (for SEO)?

How Google bot analyzes dialog tag’s content (for SEO)? – Webmasters Stack Exchange

Delete older EBS Volume snapshots except few with certain tags using Python, Lambda

I am learning Python and managed to accomplish the above. But my script doesn’t seem optimal. Could someone help to take a review and suggest for betterment?

import boto3
from datetime import datetime,timedelta

REGION = "ap-southeast-1"
retention_days = 45
account_id = boto3.client('sts').get_caller_identity().get('Account')
ec2 = boto3.client('ec2', region_name=REGION)

def lambda_handler(event, context):
    now = datetime.now()
    outdated_snapID = ()
    retain_snapID = ()
    result = ec2.describe_snapshots(OwnerIds=(account_id))
    for snapshot in result('Snapshots'):
        # Remove timezone info from snapshot in order for comparison to work below
        snapshot_time = snapshot('StartTime').replace(tzinfo=None)
        # Subtract snapshot time from now returns a timedelta 
        # Check if the timedelta is greater than retention days
        if (now - snapshot_time) > timedelta(retention_days):
            outdated_snapID.append(snapshot('SnapshotId'))
    retain_snap = ec2.describe_snapshots(OwnerIds=(account_id), Filters=({'Name': 'tag:Retain', 'Values': ('True', 'true')}))
    for snap in retain_snap('Snapshots'):
        # Remove timezone info from snapshot in order for comparison to work below
        snapshot_time = snap('StartTime').replace(tzinfo=None)
        if (now - snapshot_time) > timedelta(retention_days):
            retain_snapID.append(snap('SnapshotId'))
    # Remove retained snapshotID's from the outdated array
    for i in retain_snapID:
        outdated_snapID.remove(i)
    for x in outdated_snapID:
        delete_snapshot(x)

def delete_snapshot(snapshotID):
    try:
        ec2.delete_snapshot(SnapshotId=snapshotID)
    except Exception as ex:
        print("Something went wrong:", ex)
        pass
```

views – Drupal 7 Not Rendering HTML tags

I have been trying to research this issue for about a week now but not having much luck as some of the similar postings do not make too much sense to me. Either way, I appreciate any help and guidance on this!

I have a custom module that utilizes the CKeditor and submits HTML tags to the appropriate column in the database table. Example tags: <p></p><ul></ul><li></li>

I am using the views module to display results but instead of the HTML tags rendering, I am seeing:
<p>This is a test:</p> <ul> <li>test 1</li> <li>test 2</li> <li>test 3</li>
</ul>

When I inspect the browser I actually see:

&lt;p&gt;This is a test:&lt;/p&gt;

&lt;ul&gt;
    &lt;li&gt;test 1&lt;/li&gt;
    &lt;li&gt;test 2&lt;/li&gt;
    &lt;li&gt;test 3&lt;/li&gt;
&lt;/ul&gt;

What I want to see is:

This is a test:

magento2 – Magento 2 – Custom Widget Wysiwyg Editor allow html tags

I try to add a wysiwyg editor to my custom widget.

I added the field to my widget.xml

            <parameter name="content" xsi:type="block" required="false" visible="true" sort_order="60">
                <label>Content</label>
                <block class="TestCustomBlockWidgetEditor" />
            </parameter>

and this is my Editor.php :

<?php

namespace TestCustomBlockWidget;

use MagentoFrameworkViewElementTemplate;
use MagentoWidgetBlockBlockInterface;

class Editor extends Template implements BlockInterface
{
    /**
     * @var MagentoCmsModelWysiwygConfig
     */
    protected $_wysiwygConfig;

    /**
     * @var Factory
     */
    protected $_factoryElement;

    /**
     * @param Factory $factoryElement
     * @param CollectionFactory $factoryCollection
     * @param array $data
     */
    public function __construct(
        MagentoBackendBlockTemplateContext $context,
        MagentoFrameworkDataFormElementFactory $factoryElement,
        MagentoCmsModelWysiwygConfig $wysiwygConfig,
        $data = ()
    ) {
        $this->_factoryElement = $factoryElement;
        $this->_wysiwygConfig = $wysiwygConfig;
        parent::__construct($context, $data);
    }

    /**
     * Prepare chooser element HTML
     *
     * @param MagentoFrameworkDataFormElementAbstractElement $element Form Element
     * @return MagentoFrameworkDataFormElementAbstractElement
     */
    public function prepareElementHtml(MagentoFrameworkDataFormElementAbstractElement $element)
    {
        $editor = $this->_factoryElement->create('editor', ('data' => $element->getData()))
            ->setLabel('')
            ->setForm($element->getForm())
            ->setWysiwyg(true)
            ->setConfig($this->_wysiwygConfig->getConfig(('add_variables' => false, 'add_widgets' => false)));

        if ($element->getRequired()) {
            $editor->addClass('required-entry');
        }

        $element->setData(
            'after_element_html', $this->_getAfterElementHtml() . $editor->getElementHtml()
        );

        return $element;
    }

    /**
     * @return string
     */
    protected function _getAfterElementHtml()
    {
        $html = <<<HTML
            <style>
                .admin__field-control.control .control-value {
                    display: none !important;
                }
            </style>
        HTML;

        return $html;
    }

}

If i try to get the Editor value to my frontend like this :


<?= $block->getData('content');?> 

or like this :

 <?= $block->escapeHtml($block->getData('content')) ?>

enter image description here

it shows the HTML Tags in Frontend.
How can i “allow” html tags for my wysiwyg editor?

amazon iam – Error: error listing tags for SNS Topic while policy grants the permission for that arn

I have the below policy attached to user:

{
    "Version": "2012-10-17",
    "Statement": (
        {
        "Effect": "Allow",
        "Action": (
            "elasticloadbalancing:CreateLoadBalancer",
            "elasticloadbalancing:CreateTargetGroup",
            "elasticloadbalancing:DescribeTargetHealth",
            "elasticloadbalancing:DescribeTargetGroups",
            "elasticloadbalancing:DescribeTargetGroupAttributes",
            "elasticloadbalancing:DescribeLoadBalancerAttributes",
            "elasticloadbalancing:DescribeTargetGroupAttributes",
            "elasticloadbalancing:DescribeListeners",
            "elasticloadbalancing:DescribeLoadBalancers",
            "elasticloadbalancing:DescribeTags",
            "elasticloadbalancing:DeleteLoadBalancer",
            "elasticloadbalancing:CreateListener",
            "elasticloadbalancing:CreateRule",
            "elasticloadbalancing:DeleteListener",
            "elasticloadbalancing:DeleteRule",
            "elasticloadbalancing:DeleteTargetGroup",
            "elasticloadbalancing:ModifyListener",
            "elasticloadbalancing:ModifyLoadBalancerAttributes",
            "elasticloadbalancing:ModifyRule",
            "elasticloadbalancing:ModifyTargetGroup",
            "elasticloadbalancing:ModifyTargetGroupAttributes",
            "elasticloadbalancing:RegisterTargets",
            "elasticloadbalancing:SetSecurityGroups"
        ),
        "Resource": (
            "arn:aws:elasticloadbalancing:ap-south-1:736855795947:loadbalancer/app/my-lb/*",
            "arn:aws:elasticloadbalancing:ap-south-1:736855795947:listener/app/my-lb/*/*",
            "arn:aws:elasticloadbalancing:ap-south-1:736855795947:targetgroup/my-target-group/*"
        )
    },
    )
}

Still I see the below error:

Error: error reading ELBv2 Target Group (arn:aws:elasticloadbalancing:ap-south-1:XXXXXXXXXXXX:targetgroup/my-target-group/55718775ec3196ff): AccessDenied: User: arn:aws:iam::XXXXXXXXXXXX:user/deploy_user is not authorized to perform: elasticloadbalancing:DescribeTargetGroups

I am not able to understand this behaviour.I see policies getting divided into ELB & ELB v2. All “Describe” permissions are coming under ELB v2.
ELB v2 actions screenshot

DreamProxies - Cheapest USA Elite Private Proxies 100 Private Proxies 200 Private Proxies 400 Private Proxies 1000 Private Proxies 2000 Private Proxies 5000 Private Proxies ExtraProxies.com - Buy Cheap Private Proxies Buy 50 Private Proxies Buy 100 Private Proxies Buy 200 Private Proxies Buy 500 Private Proxies Buy 1000 Private Proxies Buy 2000 Private Proxies ProxiesLive.com Proxies-free.com New Proxy Lists Every Day Proxies123.com Buy Cheap Private Proxies; Best Quality USA Private Proxies