-
-
Notifications
You must be signed in to change notification settings - Fork 2
category metadata
Jorge Reyes edited this page Jun 3, 2015
·
2 revisions
The category metadata element allows the use of multiple tags. To input these category tags, ColdBox requires a structured array. In the example below we will create 3 category tags, one of which has the optional domain attributes.
<cfset rc.feed["category"] = Array(1) />
<cfset rc.feed["category"][1] = structNew(); />
<cfset rc.feed["category"][1].tag = "fruit" />
<cfset rc.feed["category"][2] = structNew(); />
<cfset rc.feed["category"][2].tag = "Business/Food_and_Related_Products/Produce/Fruits/" />
<cfset rc.feed["category"][2].domain = "dmoz" />
<cfset rc.feed["category"][3] = structNew(); />
<cfset rc.feed["category"][3].tag = "produce" />
- Feed Reader * [RSS Syndication Format](https://github.com/ColdBox/cbox-feeds/wiki/RSS Syndication Format) * RDF Syndication Format * Atom Syndication Format * Supported Syntax and Formats
- Feed Generator
- Feed Generator Elements