Below explains article tags’ grammar, application and context of use.
Attention for the topic of self-defined data source:
1.only <$art_id$>、<$art_title$>、<$art_url$>、<$art_createdate$> and <$art_publishdate$> is valid among all article tags below. The quotation value of other article tags is null.
2.For other fields’ usage, please refer to guide for RS tags.
Since V1.5, page break tag supported for very long page, so, people could create a page break during writing an article.
There're two kinds of tag, one is called FCKEditor style and another is called NPS style:
FCKEditor style: <div style="page-break-after: always"><span style="display: none"> </span></div>
NPS style: <!--pagebreak-->
Once these tags found in the article content, NPS would generate one more page during passing the tag <$art_content$> of article template, but not <$art_content(90,"...")$> nor <$art_content$> of page template.
The default pagination style is onebyone style, which would show all pages generated one by one, It looks like that:

Please Call the function SetPageBreakStyle4Content(String style) to reset the style. Below shows how to reset your style, for example, modern style. For more details for style, please refer to guide for RS tags
<%
SetPageBreakStyle4Content("modern");
%>
<$art_id$>
<$art_url$>
<$art_title$>
<$art_subtitle$>
<$art_abtitle$>
<$art_author$>
<$art_source$>
<$art_imgurl$>
<$art_tag$>
<$art_validdays$>
<$art_important$>
<$art_creator$>
<$art_publishdate$>
<$art_createdate$>
<$art_previd$>
<$art_prevtitle$>
<$art_prevurl$>
<$art_prevtopic$>
<$art_prev$>
<$art_nextid$>
<$art_nexttitle$>
<$art_nexturl$>
<$art_next$>
<$art_abstract$>
<$art_content$>Article’s unique identifier
| parameter name | type | meaning |
|---|---|---|
| wordcount | int | Optional. Indicate the word count you need. Chinese will be counted as one character. |
| append | String | Optional.If the length of art_title greater than wordcount,NPS will append the string indicated by "append". |
Article title
<$art_title$>:return to the entire title。
<$art_title(50)$>:Only return to title’s 50 characters, the characters more the 50 will be truncated.
<$art_title(50,"..."$>:Only return to title’s 50 characters.The characters more the 50 will be truncated,and "..." appended.
for example:
art_title="this is a test string"
<$art_title(4)$>="this"
<$art_title(4,"...")$>="this..."
| parameter name | type | meaning |
|---|---|---|
| wordcount | int | Optional. Indicate the word count you need. Chinese will be counted as one character. |
| append | String | Optional.If the length of art_subtitle greater than wordcount,NPS will append the string indicated by "append". |
Article subtitle
<$art_subtitle$>:<$art_subtitle$>:return to the entire subtitle
<$art_subtitle(50)$>:only return to subtitle’s 50 characters, the characters more the 50 will be truncated.
<$art_subtitle(50,"...")$>:only return to subtitle’s 50 characters.The characters more the 50 will be truncated and "..." appended.
| parameter name | type | meaning |
|---|---|---|
| wordcount | int | Optional. Indicate the word count you need. Chinese will be counted as one character. |
| append | String | Optional.If the length of art_abtitle greater than wordcount,NPS will append the string indicated by "append". |
Article abbreviated title
<$art_abtitle$>:<$art_abtitle$>:return to the entire abbreviated title
<$art_abtitle(50)$>:only return to abbreviated title’s 50 characters, the characters more the 50 will be truncated.
<$art_abtitle(50,"...")$>:only return to abbreviated title’s 50 characters.The characters more the 50 will be truncated and "..." appended.
Article’s url path after publishing.
Article’s author.
| parameter name | type | meaning |
|---|---|---|
| wordcount | int | Optional. Indicate the word count you need. Chinese will be counted as one character. |
| append | String | Optional.If the length of art_source greater than wordcount,NPS will append the string indicated by "append". |
Article’s source
<$art_source$>:return to article’s source
<$art_source(50)$>:only return to 50 characters of article’s source, the characters more the 50 will be truncated.
<$art_source(50,"...")$>:Only return to 50 characters of article's source.The characters more the 50 will be truncated,and "..." appended.
Guided Image
| parameter name | type | meaning |
|---|---|---|
| wordcount | int | Optional. Indicate the word count you need. Chinese will be counted as one character. |
| append | String | Optional.If the length of keyword greater than wordcount,NPS will append the string indicated by "append". |
Tag or category
<$art_tag$>:return the tag
<$art_tag(50)$>:only return to 50 characters of tag, the characters more the 50 will be truncated.
<$art_tag(50,"...")$>:Only return to 50 characters of tag.The characters more the 50 will be truncated,and "..." appended.
Valid period. The return value is “days”(integer). “0” means permanently valid.
Article’s importance. The return value is integer. “0”means ordinary. “1” means important. “2”means very important.
Creator’s ID number
Creator’s name
Creator’s full name. Format: Name (department name/unit name)
| parameter name | type | meaning |
|---|---|---|
| format | String | Optional. date format strings,default as yyyy-MM-dd. |
Publishing date. Format can be combined by using parameters below.
|
Letter
|
Date or Time Component
|
Presentation
|
Example
|
|
G
|
Era designator
|
Text
|
AD
|
|
y
|
year
|
Year
|
1996; 96
|
|
M
|
Month in year
|
Month
|
July; Jul; 07
|
|
w
|
Week in year
|
Number
|
27
|
|
W
|
Week in month
|
Number
|
2
|
|
D
|
Day in year
|
Number
|
189
|
|
d
|
Day in month
|
Number
|
10
|
|
F
|
Day of week in month
|
Number
|
2
|
|
E
|
Day in week
|
Text
|
Tuesday; Tue
|
|
a
|
Am/pm marker
|
Text
|
PM
|
|
H
|
Hour in day (0-23)
|
Number
|
0
|
|
k
|
Hour in day (1-24)
|
Number
|
24
|
|
K
|
Hour in am/pm (0-11)
|
Number
|
0
|
|
h
|
Hour in am/pm (1-12)
|
Number
|
12
|
|
m
|
Minute in hour
|
Number
|
30
|
|
s
|
Second in minute
|
Number
|
55
|
|
S
|
Millisecond
|
Number
|
978
|
|
z
|
Time
zone
|
General time zone
|
Pacific Standard Time; PST; GMT-08:00
|
|
Z
|
Time zone
|
RFC 822 time zone
|
-0800
|
| parameter name | type | meaning |
|---|---|---|
| format | String | Optional. Date format string, default as yyyy-MM-dd. |
Create date. For the format’s mode, please refer to the tag of art_publishdate.
Previous article ID#. If not exists, return null.
Previous article's title. If not exists, return null.
Previous article's URL. If not exists, return null
Previous article's topic. If not exists, return null.
You can fetch all global tags as following:
<$art_prevtopic.top_name$> will return the previous article's topic name
Previous article. If not exists, return null.
You can fetch article tags as following:
<$art_prev.art_publishdate$> will return the publish date of the previous article.
Attention pls:
<$art_previd$>=<$art_prev.art_id$>, but it's faster because <$art_prev$> will load all datas from Oracle and that will resume some time.
So, if you try to get the id only, <$art_previd$> is highly recommended.
Next article ID#. If not exists, return null.
Next article's title. If not exists, return null.
Next article's url. If not exists, return null.
Next article's topic. If not exists, return null.
You can fetch all global tags as following:
<$art_nexttopic$.top_name$> will return the next article's topic name
Next article. If not exists, return null.
You can fetch article tags as following:
<$art_next.art_publishdate$> will return the publish date of the next article.
Attention pls:
<$art_nextid$>=<$art_next.art_id$>, but it's faster because <$art_next$> will load all datas from Oracle and that will resume some time.
So, if you try to get the id only, <$art_nextid$> is highly recommended.
Article Abstract. If abstract is empty, and then <$art_abstract$> equals to <$art_content("flat",90,"...")$>;
| parameter name | type | meaning |
|---|---|---|
| format | String |
Optional. foarmat="0" or format="text" indicate the formatted plain text. If there is no format, HTML text is applied. |
| wordcount | int | Optional. Indicate the word count you need. Chinese will be counted as one character. When wordcount is indicated, the number of plain text’s characters will always be automatically calculated. |
| append | String | Optional.If the length of art_content greater than wordcount,NPS will append the string indicated by "append". |
Article content.
<$art_content$>:Return to the whole article marked with HTML.
<$art_content("flat")$>:Return to the plain text which neglect the tags of script、title、head、link、style.
<$art_content("flat",50)$>:Return to 50 characters of the plain text.
<$art_content("flat",50,"...")$>:Return to 50 characters of the plain text.The characters more the 50 will be truncated,and "..." appended.
| parameter name | type | meaning |
|---|---|---|
| wordcount | int | Optional. Indicate the word count you need. Chinese will be counted as one character. When wordcount is indicated, the number of plain text’s characters will always be automatically calculated. |
| append | String | Optional.If the length of art_content greater than wordcount,NPS will append the string indicated by "append". |
Article content.
<$art_content$>:Return to the whole article marked with HTML
<$art_content(50)$>:Return to the plain text which is less than fifty characters and neglect the tags of script、title、head、link、style. One Chinese character will be counted as one character.
<$art_content(50,"...")$>:Return to 50 characters of the plain text.The characters more the 50 will be truncated,and "..." appended.