META-INF.semanticcms-news.tld Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of semanticcms-news-taglib Show documentation
Show all versions of semanticcms-news-taglib Show documentation
SemanticCMS newsfeeds in a JSP environment.
The newest version!
@{description.html}
]]>
@{project.name}
@{parsedVersion.majorVersion}.@{parsedVersion.minorVersion}.@{parsedVersion.incrementalVersion}
news
@{project.url}
A newsfeed item, used to annotate pages and elements of what
changes. The news entries are not typically directly visible, but
instead are available via news views, RSS feeds, newsletters, Twitter
tweets, and such.
]]>
news
com.semanticcms.news.taglib.NewsTag
scriptless
The id used in URL anchors.
If not provided, is generated from the label.
Must be unique per page.
Ids generated from labels will be unique, but may change as page structure changes.
]]>
id
false
java.lang.String
The book of the news target book.
Defaults to the book of the current JSP file.
]]>
book
false
java.lang.String
The page-relative path to the news target book.
Required when book provided.
Defaults to the parent page/element of the news entry when not specified.
]]>
page
false
java.lang.String
The id of the news target element.
Defaults to the parent page/element of the news entry when book, page, and element not specified.
]]>
element
false
java.lang.String
The view to use for the target element.
Defaults to content
when not specified.
]]>
view
false
java.lang.String
The title of the news entry.
Defaults to the target page title/element label when not specified.
]]>
title
false
java.lang.String
The optional description of the news entry.
]]>
description
false
java.lang.String
The publication date in ISO 8601 format.
At least YYYY-MM-DD
is required,
and when time not specified will default to midnight in the current system time zone.
A long value of -1
or 0
is converted to null
.
Any value accepted by Joda Time DateTime
is accepted.
]]>
pubDate
true
java.lang.Object
Controls whether robots will be allowed to access this news entry.
Possible values are:
auto
- Inherit setting from page
true
- Robots allowed
false
- Robots not allowed
Defaults to auto
.
]]>
allowRobots
false
java.lang.String
true
Gets all the new items in the given page and below, ordered by pubDate desc, page
.
]]>
findAllNews
com.semanticcms.news.taglib.Functions
java.util.List findAllNews(com.semanticcms.core.model.Page)
${news:findAllNews(page)}
]]>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy