Expand my Community achievements bar.

SOLVED

Any method for dynamically generating page tags?

Avatar

Level 1

So The installation of AEM I'm working on is pretty big and very diverse, with many different pages and micro-sites. That is a lot to tag by hand. Is there any methods of grabbing intelligent keywords and tags form the page or site's content. Even if it is just a place to start that would be very helpful.

Thanks!

1 Accepted Solution

Avatar

Correct answer by
Level 10

Hi, There is no OOTB functionality provided by AEM.

Tags are generally use to classify the website / pages. They are really powerful to organize website specially if it a big one with large data.

As you need a intelligent code to automatically tag to your pages, Even if you build one it can have many negative impacts on your site. If simple thing went wrong full site can be affected.

Questions:-

  • Do you mean when initially content was authored there was not tags selected for pages....right ?
  • How many pages do you have ?
  • What the average amount of content a page has ?

Here is one in python, you can supply your aem content to this

View solution in original post

3 Replies

Avatar

Correct answer by
Level 10

Hi, There is no OOTB functionality provided by AEM.

Tags are generally use to classify the website / pages. They are really powerful to organize website specially if it a big one with large data.

As you need a intelligent code to automatically tag to your pages, Even if you build one it can have many negative impacts on your site. If simple thing went wrong full site can be affected.

Questions:-

  • Do you mean when initially content was authored there was not tags selected for pages....right ?
  • How many pages do you have ?
  • What the average amount of content a page has ?

Here is one in python, you can supply your aem content to this

Avatar

Level 10

Two sections for this problem

1. Identifying the keywords as tags from the content

2. Adding these as tags for the page

From AEM perspective, there is no OOB solution to identify the keywords from the content but you can use anyway to identify them. But once you identify them, as @scott mentioned you have TagManager APIs to associate them with the page.

Avatar

Level 10

In addition to what Preveen stated -- when working with tags in AEM - you can use TagManager API:

https://docs.adobe.com/docs/en/cq/5-6-1/javadoc/com/day/cq/tagging/TagManager.html