meteor-sitemaps icon indicating copy to clipboard operation
meteor-sitemaps copied to clipboard

Sitemaps using flowrouter and React

Open UmbraLimi opened this issue 9 years ago • 2 comments
trafficstars

Does your sitemap package require Blaze templates and iron router? I tried to use it and had no errors whatsoever, but could not find where it placed the sitemap.xml file. I used the following first few lines to start the process, as you have in your documentation sitemaps.add('/sitemap.xml', function() {

Maybe I just am not sure where to look for the file.

Thanks

UmbraLimi avatar May 07 '16 00:05 UmbraLimi

It does not require Blaze or Iron Router. You can use it with FlowRouter and React.

This package uses webapp to mount a middleware and dynamically serves xml. See here. That is probably why you could not find sitemap.xml file.

sungwoncho avatar May 23 '16 05:05 sungwoncho

@sungwoncho I did as instructions said and created server/sitemap.js and nothing is produced. (webapp is installed)

fvpDev avatar Aug 15 '16 20:08 fvpDev