Note that there are some explanatory texts on larger screens.

plurals
  1. POMovableType: Is it possible to have an RSS that excludes two categories?
    text
    copied!<p>I have an RSS feed that should include any posts that do not have any of these attributes:</p> <ol> <li>A tag "conferencebox"</li> <li>A category "Appearances"</li> <li>A category "Appearances_Archive"</li> </ol> <p>That is... any one of those qualities means it shouldn't be in the RSS feed.</p> <p>I tried this:</p> <pre><code>&lt;MTEntries category="NOT Appearances AND NOT Appearances_Archive" tag="NOT @conferencebox" lastn="15"&gt; </code></pre> <p>but I get this error:</p> <pre><code>Publish error in template 'RSS': Error in &lt;mtEntries&gt; tag: You have an error in your 'category' attribute: NOT Appearances AND NOT Appearances_Archive </code></pre> <p>When I reduce it to:</p> <pre><code>&lt;MTEntries category="NOT Appearances" tag="NOT @conferencebox" lastn="15"&gt; </code></pre> <p>it works as expected (I get the Appearances_Archive posts) but the others are excluded.</p> <p>I've tried renaming the category so that it doesn't have a "_" in it, but that doesn't fix the problem.</p> <p>If I change it to:</p> <pre><code> &lt;MTEntries category="NOT Appearances AND NOT appearancesarchive" tag="NOT @conferencebox" lastn="15"&gt; </code></pre> <p>I don't get an error, but the RSS feed still includes the "appearancesarchive" posts.</p> <p>This also doesn't get an error, but doesn't not produce an RSS feed as I want:</p> <pre><code> &lt;MTEntries category="NOT (Appearances OR appearancesarchive)" tag="NOT @conferencebox" lastn="15"&gt; </code></pre> <p>I've tried various combinations of CamelCase, lowercase, with and without "_". No luck.</p> <p>Versions: Movable Type Pro version 5.2.3 with: Community Pack 1.92, Professional Pack 1.72</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload