Module

Archived
Forum
(read-only)

Sitemap Module

ExpressionEngine 2, ExpressionEngine 3, ExpressionEngine 4, ExpressionEngine 5, ExpressionEngine 6

Back to this add-on's main page
View Other Add-ons From Brian Litzinger

     

Is filtering a custom field possible?

Support (Resolved)

Gusto
Gusto

Hi Ben,
I just purchased Sitemap Module with the hopes of simplifying my complicated sitemap setup. However I assumed there would be more flexibility.

My website has a channel that covers movies. From the moment a movie releases we gather information that appears on a “preview” page for the movie—each movie gets its own entry in the database. When the movies finally release, we write reviews for SOME of them and these appear on a second “review” page but are generated by the same entry within the channel.

Note the word “some”. About 70% of our titles have reviews. Currently I’m simply running a filter on an RSS template that generates the XML. The filter checks a custom field to see if we’ve given a movie entry an overall grade. If we haven’t, then no review exists and the URL is not added to the sitemap.

Now the $49 question: Is this somehow possible with your module? I found another support entry that explains how I can use two manual locations to generate two pages originating from one channel. I just need to figure out how to filter out pages that don’t exist. Hope that makes sense! Thanks!

PutYourLightsOn
# 1
PutYourLightsOn

If I understand correctly then what you’d like to do is to generate two URL’s in the sitemap from a single entry, in certain cases. The Sitemap Module will handle at most one URL per entry, and while you can use manual locations, this requires, not surprisingly, a manual step of adding the extra URL’s. So it sounds like your use case is beyond the scope of what the add-on can do, unless you are happy to manually add the second entry URL’s each time.

Gusto
# 2
Gusto

Thank you for the answer. Is it possible to cancel our license and receive a refund?

PutYourLightsOn
# 3
PutYourLightsOn

Yes, within 30 days of purchase:
https://devot-ee.com/returns