Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 4 of 4 total
Thread NoIndex component
Thu, Jul 25 2024 5:29 AMPermanent Link

Artur2024

Avatar

I wrote a component that is supposed to ask Google not to index your page.

You can download the project and see how it works.

If we add the "UnNoIndex" component via "Add to Library", Elevate Web Builder will crash and you will not be able to start it. To make the program work again, you have to delete the folder, but you will lose all the installed custom controls and program settings - be careful!

The reason is probably the WebDom library used.

Do you have any ideas what can be done?

Please help me because I wanted to write more components with the WebDom library Frown



Attachments: NoIndeks.zip
Thu, Jul 25 2024 5:53 AMPermanent Link

Artur2024

Avatar

... to repair the program you need to delete the folder:
C:\Users\<username>\AppData\Local\Elevate Software\Elevate Web Builder 3
Thu, Jul 25 2024 8:06 PMPermanent Link

erickengelke

Avatar

Very interesting idea.  

Honestly, I don't know about Googe, but many crawler engines don't execute JavaScript, so they would not see the Meta tag you are creating.   You might need to edit the HEAD data in the generated HTML to work across all crawlers.

It is possible to do that easily if running on Apache or Nginx web servers, you can create an INDEX.PHP file which reads your INDEX.HTML file and modifies the HEAD appropriately.

Keep up the good work.

Erick
EWB Programming Books and Nice Component Library
See my EWB BLOG posts, at:
http://www.erickengelke.com
Fri, Jul 26 2024 7:08 AMPermanent Link

Artur2024

Avatar

Sorry, I made a mistake. Now the project works.

Pressing the button adds the <meta name="robots" content="noindex"> entry in the header or removes it.

When I want to add the UnNoIndex.wbs file to the library, a compilation error pops up. Does anyone know how to solve this error?

WARNING: adding to the library permanently damages the program, do not do this on your main computer. After the crash, you must delete the folder C:\Users\<username>\AppData\Local\Elevate Software\Elevate Web Builder 3 !!!



Attachments: NoIndeks.zip
Image