Entando Plugin: SEO

Search Engine Optimization

Лицензия

Лицензия

Группа

Группа

org.entando.entando.plugins
Идентификатор

Идентификатор

entando-plugin-jpseo
Последняя версия

Последняя версия

6.2.10
Дата

Дата

Тип

Тип

war
Описание

Описание

Entando Plugin: SEO
Search Engine Optimization
Ссылка на сайт

Ссылка на сайт

http://www.entando.com/
Организация-разработчик

Организация-разработчик

Entando Inc.

Скачать entando-plugin-jpseo

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/org.entando.entando.plugins/entando-plugin-jpseo/ -->
<dependency>
    <groupId>org.entando.entando.plugins</groupId>
    <artifactId>entando-plugin-jpseo</artifactId>
    <version>6.2.10</version>
    <type>war</type>
</dependency>
// https://jarcasting.com/artifacts/org.entando.entando.plugins/entando-plugin-jpseo/
implementation 'org.entando.entando.plugins:entando-plugin-jpseo:6.2.10'
// https://jarcasting.com/artifacts/org.entando.entando.plugins/entando-plugin-jpseo/
implementation ("org.entando.entando.plugins:entando-plugin-jpseo:6.2.10")
'org.entando.entando.plugins:entando-plugin-jpseo:war:6.2.10'
<dependency org="org.entando.entando.plugins" name="entando-plugin-jpseo" rev="6.2.10">
  <artifact name="entando-plugin-jpseo" type="war" />
</dependency>
@Grapes(
@Grab(group='org.entando.entando.plugins', module='entando-plugin-jpseo', version='6.2.10')
)
libraryDependencies += "org.entando.entando.plugins" % "entando-plugin-jpseo" % "6.2.10"
[org.entando.entando.plugins/entando-plugin-jpseo "6.2.10"]

Зависимости

compile (2)

Идентификатор библиотеки Тип Версия
org.entando.entando.plugins : entando-plugin-jacms jar 6.2.17
org.entando.entando : entando-portal-ui jar 6.2.6

provided (2)

Идентификатор библиотеки Тип Версия
javax.servlet : javax.servlet-api jar 3.1.0
javax.servlet.jsp : jsp-api jar 2.2

test (12)

Идентификатор библиотеки Тип Версия
org.entando.entando.plugins : entando-plugin-jacms test-jar 6.2.17
org.entando.entando : entando-portal-ui test-jar 6.2.6
org.entando.entando : entando-engine test-jar 6.2.23
org.entando.entando : entando-admin-console test-jar 6.2.36
junit : junit jar 4.12
org.springframework : spring-test jar 5.1.8.RELEASE
org.mockito : mockito-core jar 2.28.2
org.assertj : assertj-core jar 3.11.1
org.hamcrest : hamcrest-all jar 1.3
com.jayway.jsonpath : json-path-assert jar 2.2.0
org.apache.derby : derbyclient jar 10.9.1.0
org.apache.derby : derby jar 10.9.1.0

Модули Проекта

Данный проект не имеет модулей.

Build Status Quality Gate Status Coverage Vulnerabilities Code Smells Security Rating Technical Debt

entando-plugin-jpseo

SEO

Code: jpseo

Description

The SEO plugin enables some functionality inside the page configuration (new parameters and friendly url), in the content handling (new role attribute to pilot friendly url) and to extract the sitemap.

Installation

In order to install the SEO plugin, you must insert the following dependency in the pom.xml file of your project:

<dependency>
	<groupId>org.entando.entando.plugins</groupId>
    <artifactId>entando-plugin-jpseo</artifactId>
    <version>${entando.version}</version>
    <type>war</type>
</dependency>

How to use

Modify of web.xml

Add, into web.xml file (into src/main/conf folder), the following xml section

    <servlet-mapping>
        <servlet-name>ControllerServlet</servlet-name>
        <url-pattern>/page/*</url-pattern>
    </servlet-mapping>
Page Model CUSTOMIZATION

Add the following tld declaration in the page models:

<%@ taglib prefix="jpseo" uri="/jpseo-aps-core" %>

You can add the following tag (into the header of the pagemodel) to print the entire metatag configuration of the current page

<jpseo:seoMetasTag escapeXml="true" /> 

OR use the follow instruction for more granular control on the metatag to print.

In order to add the metadata description, add the following section in the header:

<jpseo:currentPage param="description" var="metaDescr" />
<c:if test="${metaDescr!=null}" >
<meta name="description" content="<c:out value="${metaDescr}" />" />
</c:if>

you can use, into the header of the page models, the following sections:

<jpseo:seoMetaTag key="author" var="metaAuthorVar" />
<c:if test="${metaAuthorVar != null}" >
<meta name="author" content="<c:out value="${metaAuthorVar}" />" />
</c:if>
<jpseo:seoMetaTag key="keywords" var="metaKeywordsVar" />
<c:if test="${metaKeywordsVar != null}" >
<meta name="keywords" content="<c:out value="${metaKeywordsVar}" />" />
</c:if>
Content CUSTOMIZATION

To ensure that MAIN CONTENT influences the page's description (see appropriate tag in the page templates section) the jsp of the WIDGET content_viewer must be changed as follows:

Add the following tld declaration

<%@ taglib prefix="jpseo" uri="/jpseo-aps-core" %>

Modify the content tag

substitute:

<jacms:content .... />

for

<jpseo:content publishExtraTitle="true" publishExtraDescription="true" />

Developing against local versions of upstream projects (e.g. admin-console, entando-engine).

Full instructions on how to develop against local versions of upstream projects are available in the entando-parent-bom project.

org.entando.entando.plugins

Entando Inc

Open source micro frontend platform for Kubernetes.

Версии библиотеки

Версия
6.2.10
6.1.1
6.1.0
5.3.2
5.3.1
5.2.0
5.1.0