Using the blog feature for different niches...

Got your head around the basics? Check these threads for more ways to improve your sites.
Post Reply
longsack
Site Admin
Posts: 37
Joined: Wed Jun 04, 2025 7:13 pm

Using the blog feature for different niches...

Post by longsack »

the best url extension for rss is .xml

To create rss feeds for multiple niches....

create a source page called..

rss.tmpl
and destination to ../rss.xml

Go into the advanced tabs and locate the multiterm field.
put your categories comma separated into the field, like this.

Teen,Asian,Bear,Ass,etc..

Now we'll create a dynamic template that can accept multiple terms and generate multiple niched feeds.
On your template you can use something like this...

Code: Select all

<?xml version="1.0" ?>
<!--   RSS generated by Comus Thumbs 2.01 at %stiename% on %this_month% %this_day%, %this_YEAR% 
{{archivepage}}{{notrades}}{{mirrorpage}}
{{setDateTemplate-r}}
{{setElementStyle-thumb-<a href=%url% target=_blank><img src="%sitepath%/thumbs/%thumbname%" alt="%description%" width="%thumbwidth%" height="%thumbheight%" border=0></a><br><a href='/ct/search.php?search=%cat%' >%cat%</a>
}}
{{setElementStyle-rssheader-
  <image>
  <link>http://%sitename%/</link>
  <title>%category%: %category%</title>
  <url>http://%sitename%/ct/thumbs/%thumbname%</url>
  <description>The %sitename% News Feed picks the most popular %multtierm% Adult Thumbnails released over the last
24-48 hours. Todays Category: %multiterm%</description>
  <width>%thumbwidth%</width>
  <height>%thumbheight%</height>
  </image>
  }}
 {{setquery-best-" periodsshown>1 order by periodsshown, clicks/exposure desc"}}
-->
 <rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">
  <channel>
   <title>%sitename% Latest %multiterm% Galleries</title>
   <link>http://www.%sitename%/</link>
    <description>Free Links to Galleries provided by %sitename%
 [ENTER YOUR FEED DESCRIPTION HERE]
    </description>
    <language>en-us</language>
    <webMaster>webmaster@%sitename%</webMaster>
    <generator>Comus Thumbs 2.01 http://comusthumbs.com/</generator>
    <rating>Adult</rating>
    <docs>http://www.rssboard.org/rss-specification#ltenclosuregtSubelementOfLtitemgt</docs>
    {{%multiterm%-rssheader-1-query-best}}
 <ttl>1440</ttl>
  <item>
  <title>Todays Best Thumbs From %sitename%</title>
  <link>http://%sitename%/</link>
  <description>Todays Best From %sitename% - Visit us for the rest.</description>
  <author>webmaster@%sitename%</author>
  <source url="http://%sitename%/rss.xml">%sitename%</source>
  <guid>http://%sitename%/</guid>
  <content:encoded>
  <![CDATA[

{{include-header.inc}}
<table>
{{%multiterm%-thumbs-4-5-query-best1}}
</table>
{{include-footer.inc}}

  ]]>
  </content:encoded>
  </item>
  <dc:creator>Comus Thumbs 2.51 webmaster@%sitename%</dc:creator>
  <pubDate>%this_date%</pubDate>
 
 <!-- LIST YOUR CATEGORIES HERE -->
  <dc:subject>%multiterm%</dc:subject>
  </channel>
  </rss>
and now after building 2 files will be created in the templates folder that you can include into other docs or use as a list or as examples...
{{include-select.rss.inc}} //holds a drop down select box that chooses to load each rss page
{{include-links.rss.inc}} //holds a linked list of urls to the xml files.

either that or you can access each rss page as..

/ct/rss.CATEGORY.xml

We're not finished yet! This template requires that the global header and footers are made...
Populate the Global Header and Global Footers, create them using the dropdown examples in the [Pages] section, place
your own header and footer code in there, then Build the pages. Make sure to preserve the {{archivepage}} macros and such,
that you find in the examples. Note that the default header and footers have some examples in them of how to use the stdcategory links.. examine the file and look for any dependencies and create those files too from the examples if you decide to keep them.

after that, you should be able to hit build and you're off and running.
Post Reply