Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ventrian/News-Articles
News Articles for DNN has been helping DNN administrators to publish articles and blogs to their DNN portals since 2004.
https://github.com/ventrian/News-Articles
dnncms dotnetnuke
Last synced: 3 months ago
JSON representation
News Articles for DNN has been helping DNN administrators to publish articles and blogs to their DNN portals since 2004.
- Host: GitHub
- URL: https://github.com/ventrian/News-Articles
- Owner: ventrian
- License: mit
- Created: 2017-07-20T06:21:57.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-12-22T07:54:15.000Z (11 months ago)
- Last Synced: 2024-07-29T02:33:42.768Z (3 months ago)
- Topics: dnncms, dotnetnuke
- Language: Visual Basic .NET
- Homepage:
- Size: 14 MB
- Stars: 38
- Watchers: 24
- Forks: 24
- Open Issues: 30
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
- awesome-dnn - News Articles
README
# News-Articles
This module was originally created by Scott McCulloch of Ventrian.
He made the module open source and put it on GitHub.
After that the was mainly maintained by [40FINGERS](https://www.40fingers.net/).
40FINGERS decided to convert their existing clients to [Open Content](https://opencontent.readme.io/) and stopped using and supporting this module as of 2022-10-01.So there is currently no active development for this module.
If you want to support the module, please contact Scott.## Installation
Install the module through Host -> Extensions.
Ready made install files are located in the /installs folder.
## Token Guide
### Menu.Item.Html
[ADMINLINK]
[ARCHIVESLINK]
[APPROVEARTICLESLINK]
[APPROVECOMMENTSLINK]
[CATEGORIESLINK]
[CURRENTARTICLESLINK]
[HASCOMMENTSENABLED][/HASCOMMENTSENABLED]
[ISADMIN][/ISADMIN]
[ISAPPROVER][/ISAPPROVER]
[ISSELECTEDADMIN][/ISSELECTEDADMIN]
[ISSELECTEDAPPROVEARTICLES][/ISSELECTEDAPPROVEARTICLES]
[ISSELECTEDAPPROVECOMMENTS][/ISSELECTEDAPPROVECOMMENTS]
[ISSELECTEDCATEGORIES][/ISSELECTEDCATEGORIES]
[ISSELECTEDCURRENTARTICLES][/ISSELECTEDCURRENTARTICLES]
[ISSELECTEDMYARTICLES][/ISSELECTEDMYARTICLES]
[ISSELECTEDSEARCH][/ISSELECTEDSEARCH]
[ISSELECTEDSYNDICATION][/ISSELECTEDSYNDICATION]
[ISSELECTEDSUBMITARTICLE][/ISSELECTEDSUBMITARTICLE]
[ISSYNDICATIONENABLED][/ISSYNDICATIONENABLED]
[ISSUBMITTER][/ISSUBMITTER]
[MYARTICLESLINK][/MYARTICLESLINK]
[RSSLATESTLINK][/RSSLATESTLINK]
[SEARCHLINK][/SEARCHLINK]
[SUBMITARTICLELINK][/SUBMITARTICLELINK]
[SYNDICATIONLINK][/SYNDICATIONLINK]
[RESX:XXX] where XXX is the name of the key in sharedresources.ascx.resx
### Listing.Header.Html/Listing.Footer.Html[CATEGORYFILTER]
[CATEGORYSELECTED][/CATEGORYSELECTED]
[CATEGORYNOTSELECTED][/CATEGORYNOTSELECTED]
[CURRENTPAGE]
[HASMULTIPLEPAGES][/HASMULTIPLEPAGES]
[HASNEXTPAGE][/HASNEXTPAGE]
[HASPREVPAGE][/HASPREVPAGE]
[LINKPREVIOUS]
[LINKPREVIOUSURL]
[LINKNEXT]
[LINKNEXTURL]
[PAGECOUNT]
[TABID]### Listing.Featured.Html/Listing.Item.Html/View.Item.Html/View.Title.Html/View.Description.Html/View.Keyword.Html/Handout.Item.Html/Rss.Item.Html
[ARTICLEID]
[ARTICLELINK]
[ARTICLELINK:XXX] where XXX is antoher article ID.
[APPROVERDISPLAYNAME]
[APPROVERFIRSTNAME]
[APPROVERLASTNAME]
[APPROVERUSERNAME]
[AUTHOR]
[AUTHOR:XXX] where XXX is the profile field name. e.g. [AUTHOR:FirstName]
[AUTHOREMAIL]
[AUTHORUSERNAME]
[AUTHORFIRSTNAME]
[AUTHORLASTNAME]
[AUTHORFULLNAME]
[AUTHORID]
[CAPTION:XXX] where XXX is the name of the caption.
[CATEGORIES]
[CATEGORIESNOLINK]
[CREATEDATE]
[CREATETIME]
[COMMENTCOUNT]
[COMMENTLINK]
[COMMENTRSS]
[COMMENTS] - loads the comment.item template for each comment.
[CURRENTPAGE]
[CUSTOMFIELDS]
[CUSTOM:XXX] where XXX is the name of the custom field.
[DETAILS]
[DETAILS:XXX] where XXX is the number of characters to show.
[EDIT]
[EXPRESSION:XXX:YY:ZZZ][/EXPRESSION:XXX:YY:ZZZ] where XXX is the name of a custom field, YY is the operator (=,!=,>,>=,<,<=) and ZZZ is the value to compare against. e.g. [EXPRESSION:Bedrooms:>:5]Wow this is a big place[/EXPRESSION:Bedrooms:>:5]
[FILECOUNT]
[FILES] -- Loads file templates for each file
[GRAVATARURL]
[HASAUTHOR][/HASAUTHOR]
[HASAUTHORVALUE:XXX][/HASAUTHORVALUE:XXX]
[HASCOMMENTS][/HASCOMMENTS]
[HASCOMMENTSENABLED][/HASCOMMENTSENABLED]
[HASCUSTOMFIELDS][/HASCUSTOMFIELDS]
[HASFILES][/HASFILES]
[HASIMAGE][/HASIMAGE]
[HASIMAGES][/HASIMAGES]
[HASMULTIPLEIMAGES][/HASMULTIPLEIMAGES] - image count > 1
[HASNOAUTHOR][/HASNOAUTHOR]
[HASNOCOMMENTS][/HASNOCOMMENTS]
[HASNOFILES][/HASNOFILES]
[HASNOIMAGE][/HASNOIMAGE]
[HASNOIMAGES][/HASNOIMAGES]
[HASNOLINK][/HASNOLINK]
[HASLINK][/HASLINK]
[HASMOREDETAIL][/HASMOREDETAIL]
[HASMOREDETAIL:XXX][/HASMOREDETAIL:XXX] where XXX is the number of characters to check against.
[HASMULTIPLEPAGES][/HASMULTIPLEPAGES]
[HASNEXTPAGE][/HASNEXTPAGE]
[HASPREVPAGE][/HASPREVPAGE]
[HASRATING][/HASRATING]
[HASRATINGSENABLED][/HASRATINGSENABLED]
[HASRELATED][/HASRELATED]
[HASSUMMARY][/HASSUMMARY]
[HASNOSUMMARY][/HASNOSUMMARY]
[HASTAG:XXX][/HASTAG:XXX] where XXX is the name of the tag.
[HASVALUE:XXX][/HASVALUE:XXX] where XXX is the name of a custom field.
[HASNOVALUE:XXX][/HASNOVALUE:XXX] where XXX is the name of a custom field.
[HASTAGS][/HASTAGS]
[IMAGE]
[IMAGE:ZZZ] (Where ZZZ is the position in list of images)
[IMAGECOUNT]
[IMAGELINK]
[IMAGES] -- loads images templates
[IMAGETHUMB:XXX:YYY] (Where XXX is the maximum width and YYY is the maximum height)
[IMAGETHUMBRANDOM:XXX:YYY] (Where XXX is the maximum width and YYY is the maximum height)
[IMAGETHUMB:XXX:YYY:ZZZ] (Where XXX is the maximum width and YYY is the maximum height and ZZZ is the position in list of images)
[IMAGETHUMBLINK:XXX] is the actual URL of the link to the thumbnail image.
[ISANONYMOUS][/ISANONYMOUS]
[ISAUTHOR][/ISAUTHOR]
[ISDRAFT][/ISDRAFT]
[ISFEATURED][/ISFEATURED]
[ISNOTFEATURED][/ISNOTFEATURED]
[ISFIRST][/ISFIRST]
[ISFIRST2][/ISFIRST2] only true when on the first page of listings.
[ISINROLE:XXX][/ISINROLE:XXX] where XXX is the role name.
[ISITEMINDEX:XXX][/ISITEMINDEX:XXX] where XXX is a number.
[ISLOCALE:XXX][/ISLOCALE:XXX]
[ISNOTANONYMOUS][/ISNOTANONYMOUS]
[ISNOTFIRST][/ISNOTFIRST]
[ISNOTSECOND][/ISNOTSECOND]
[ISNOTSECURE][/ISNOTSECURE]
[ISPAGE:XXX][/ISPAGE:XXX]
[ISNOTPAGE:XXX][/ISNOTPAGE:XXX]
[ISPUBLISHED][/ISPUBLISHED]
[ISRATEABLE][/ISRATEABLE]
[ISRSSITEM][/ISRSSITEM]
[ISNOTRSSITEM][/ISNOTRSSITEM]
[ISSECOND][/ISSECOND]
[ISSECURE][/ISSECURE]
[ISSYNDICATIONENABLED][/ISSYNDICATIONENABLED]
[ITEMINDEX]
[LASTUPDATEDATE]
[LASTUPDATEEMAIL]
[LASTUPDATEFIRSTNAME]
[LASTUPDATELASTNAME]
[LASTUPDATEUSERNAME]
[LASTUPDATEFULLNAME]
[LASTUPDATEID]
[LINK]
[LINKNEXT]
[LINKPREVIOUS]
[LINKTARGET]
[MODULEID]
[PAGECOUNT]
[PAGE:XX] where XX is the page number.
[PAGER]
[PAGER2] - an UL list of pages.
[PAGES] (View.Item.Html Only)
[PAGESLIST]
[PAGESLIST2]
[PAGETEXT]
[PAGETITLE]
[PAGETITLENEXT]
[PAGETITLEPREV]
[PORTALALIAS]
[PORTALROOT]
[POSTCOMMENT] - the post comment form.
[POSTRATING] - the post rating form.
[PRINT]
[PRINTLINK]
[PUBLISHSTARTDATE]
[PUBLISHSTARTDATE:XXX] where XXX is a date format expression for flexibility of date format.
[PUBLISHENDDATE]
[PUBLISHENDDATE:XXX] where XXX is a date format expression for flexibility of date format.
[RATING]
[RATINGCOUNT]
[RATINGDETAIL]
[RELATED] (uses related templates, shows up to 5 articles).
[RELATED:XXX] where XXX is the number of related articles to show (uses related templates)
[SITETITLE]
[SUMMARY]
[TABID]
[TABTITLE]
[TAGS]
[TAGSNOLINK]
[TEMPLATEPATH]
[TITLE]
[TITLEURLENCODED]
[TITLE:XXX] where XXX is the number of chars.
[TWITTERNAME]
[VIEWCOUNT]
[SUMMARY:XXX] where XXX is a number of chars.
[CREATEDATELESSTHAN:XXX] where XXX is number of days
[UPDATEDATELESSTHAN:XXX] where XXX is number of days
### Image.Item.Html[ARTICLEID]
[DESCRIPTION]
[FILENAME]
[HEIGHT]
[IMAGEID]
[IMAGELINK]
[ISITEMINDEX:XXX][/ISITEMINDEX:XXX] -- where XXX is the item position number, e.g. 1
[ISNOTITEMINDEX:XXX][/ISNOTITEMINDEX:XXX] -- where XXX is the item position number, e.g. 2
[ITEMINDEX]
[SIZE]
[SORTORDER]
[TITLE]
[WIDTH]
[IMAGETHUMB:XXX:YYY] where XXX is the max width and YYY is the max height.### Comment.Item.Html/Rss.Comment.Item.Html/Latest Comments
[ANONYMOUSURL]
[ARTICLEID]
[ARTICLELINK]
[AUTHOR]
[AUTHOR:XXX] where XXX is the profile field name. e.g. [AUTHOR:FirstName]
[AUTHORDISPLAYNAME]
[AUTHOREMAIL]
[AUTHORUSERNAME]
[AUTHORFIRSTNAME]
[AUTHORLASTNAME]
[AUTHORFULLNAME]
[AUTHORID]
[COMMENTID]
[COMMENT]
[COMMENT:XX] where XXX is the maximum number of characters to show (will remove html)
[CREATEDATE]
[CREATEDATE:XXX] where XXX is the date format expression.
[CREATETIME]
[DELETE]
[GRAVATAR]
[GRAVATARURL]
[HASANONYMOUSURL][/HASANONYMOUSURL]
[IPADDRESS]
[ISANONYMOUS][/ISANONYMOUS]
[ISNOTANONYMOUS][/ISNOTANONYMOUS]
[ISAUTHOR][/ISAUTHOR]
[ISCOMMENT][/ISCOMMENT]
[ISINROLE:XXX][/ISINROLE:XXX] (where XXX is the name of a role)
[ISPINGBACK][/ISPINGBACK]
[ISTRACKBACK][/ISTRACKBACK]
[ITEMINDEX]
[MODULEID]
[PINGBACKURL]
[RATING]
[TRACKBACKBLOGNAME]
[TRACKBACKEXCERPT]
[TRACKBACKTITLE]
[TRACKBACKURL]### Rss.Item.Html (As well as the tokens for View.Item.Html)
[DESCRIPTION]
[ENCLOSURELENGTH]
[ENCLOSURELINK]
[ENCLOSURETYPE]
[GUID]
[HASENCLOSURE][/HASENCLOSURE]
[TRACKBACKLINK]Rss.Header.Html/Rss.Footer.Html
[PORTALNAME]
[PORTALURL]### Category.Html (shown at the top of the view category page)
[ARTICLECOUNT]
[CATEGORYLABEL]
[CATEGORYID]
[CHILDCATEGORIES] - loads the child categories 1 level deep (loads Category.Child.Html for each)
[DESCRIPTION]
[HASCHILDCATEGORIES][/HASCHILDCATEGORIES]
[HASNOCHILDCATEGORIES][/HASNOCHILDCATEGORIES]
[HASNOPARENT][/HASNOPARENT]
[HASPARENT][/HASPARENT]
[LINK]
[NAME]
[PARENTDESCRIPTION]
[PARENTLINK]
[PARENTNAME]
[RSSLINK]
[VIEWS]
[CHILDCATEGORIES:XXX] where XXX is the number of levels deep.
[DESCRIPTION:XXX] where XXX is the number of characters to display.
[ISDEPTHABS:XXX][/ISDEPTHABS:XXX] where XXX is the number of levels deep from the root node.
[ISNOTDEPTHABS:XXX][/ISNOTDEPTHABS:XXX] where XXX is the number of levels deep from the root node.
[PARENTDESCRIPTION:XXX] where XXX is the number of characters to display.### Category.Child.Html
[ARTICLECOUNT]
[CATEGORYID]
[DEPTHABS] - The depth of the category from the root category.
[DEPTHREL] - The depth of the category in relation to the current category.
[DESCRIPTION]
[LINK]
[NAME]
[RSSLINK]
[ORDER]
[VIEWS]
[DESCRIPTION:XXX] where XXX is the number of characters to display.
[IFORDER:XXX][/IFORDER:XXX] where XXX is the sort order number.
[IFNOTORDER:XXX][/IFNOTORDER:XXX] where XXX is the sort order number.
[ISDEPTHABS:XXX][/ISDEPTHABS:XXX] where XXX is the depth of the category from the root category.
[ISDEPTHREL:XXX][/ISDEPTHREL:XXX] where XXX is the depth of the category relative to the current node.
[ISNOTDEPTHABS:XXX][/ISNOTDEPTHABS:XXX] where XXX is the depth of the category from the root category.
[ISNOTDEPTHREL:XXX][/ISNOTDEPTHREL:XXX] where XXX is the depth of the category relative to the current node.### File.Item.Html
[ARTICLEID]
[FILEID]
[FILENAME]
[FILELINK]
[SIZE]
[SORTORDER]
[TITLE]
[ISEXTENSION:XXX][/ISEXTENSION:XXX] where XXX is the extension name.
[ISNOTEXTENSION:XXX][/ISNOTEXTENSION:XXX] where XXX is the extension name.### News Archives (Date)
[COUNT]
[ISSELECTEDMONTH][/ISSELECTEDMONTH]
[ISNOTSELECTEDMONTH][/ISNOTSELECTEDMONTH]
[ISSELECTEDYEAR][/ISSELECTEDYEAR]
[ISNOTSELECTEDYEAR][/ISNOTSELECTEDYEAR]
[LINK]
[MONTH]
[YEAR]### News Archives (Category)
[DEPTHABS]
[CATEGORY]
[CATEGORYNOTINDENTED]
[COUNT]
[DEPTHREL]
[LINK]### News Archives (Author)
[AUTHORID]
[AUTHORUSERNAME]
[AUTHORDISPLAYNAME]
[AUTHORFIRSTNAME]
[AUTHORLASTNAME]
[AUTHORFULLNAME]
[COUNT]
[LINK]### Handout.Cover.Html, Handout.End.Html, Handout.Header.Html, Handout.End.Html
[DESCRIPTION]
[LOGO]
[NAME]