It shouldn't but I am wondering if by any chance you have two copies of the 
plugin and editing the wrong one.

Find the plugin js tiddler in your TW and verify that you can see your 
changes there.

On Thursday, May 14, 2020 at 8:16:03 PM UTC+2, Anne-Laure Le Cunff wrote:
>
> I edited straight from VS Code - I didn't know that made any difference, 
> let me try from TW and restart the server. Thank you!
>
> On Thursday, May 14, 2020 at 2:11:44 PM UTC+1, Saq Imtiaz wrote:
>>
>> @anne-laure I can't take a look at the code just yet, but have you made 
>> sure to start and stop the node server again? (This assumes you edited via 
>> TiddlyWiki and not the file directly in a text editor)
>>
>> On Thursday, May 14, 2020 at 1:34:05 PM UTC+2, Anne-Laure Le Cunff wrote:
>>>
>>> I managed to make it work but my sitemap 
>>> <https://www.mentalnodes.com/sitemap.xml> won't sanitize the links.
>>>
>>> Inside sitemapentries.js.tid I changed this part:
>>>
>>> *x += "\t\t<loc>" + server + element.title.replace(/ /g,"%2520") + 
>>> ".html</loc>\n";*
>>>
>>>
>>> To this:
>>>
>>> *x += "\t\t<loc>" + server + 
>>> element.title.replace(/[\s]/gi,'-').replace(/[^a-z0-9\-.+]/gi,'') + 
>>> ".html</loc>\n";*
>>>
>>>
>>> But I don't see any changes in the final output.
>>>
>>> Does anyone have any idea what I'm doing wrong here?
>>>
>>> Thank you!
>>>
>>>
>>>
>>> On Sunday, April 26, 2020 at 3:26:45 PM UTC+1, Anne-Laure Le Cunff wrote:
>>>>
>>>> Ha, I used this <https://github.com/dullroar/TW5-sitemap> but looks 
>>>> like I missed some steps! I somehow thought it was a native functionality. 
>>>> Thank you!
>>>>
>>>> On Sunday, April 26, 2020 at 11:39:29 AM UTC+1, Saq Imtiaz wrote:
>>>>>
>>>>> What plugin are you using for the sitemap? As far as I am aware, there 
>>>>> is no built in support in TiddlyWiki for generating a sitemap.
>>>>>
>>>>> Regards,
>>>>> Saq
>>>>>
>>>>> On Saturday, April 25, 2020 at 7:44:07 PM UTC+2, Anne-Laure Le Cunff 
>>>>> wrote:
>>>>>>
>>>>>> Hi everyone,
>>>>>>
>>>>>> I added the following command to my build.sh file in order to 
>>>>>> generate a sitemap of my TiddlyWiki static website:
>>>>>>
>>>>>> --rendertiddler sitemap sitemap.xml text/plain
>>>>>>
>>>>>>
>>>>>> So my full render command looks like this now:
>>>>>>
>>>>>> tiddlywiki --rendertiddlers [!is[system]] 
>>>>>> $:/ness_labs/templates/static.tiddler.html static text/plain 
>>>>>> --rendertiddler $:/ness_labs/templates/static.template.css 
>>>>>> static/static.css text/plain --rendertiddler sitemap sitemap.xml 
>>>>>> text/plain
>>>>>>
>>>>>>
>>>>>> I do get a sitemap.xml file, but it's empty. Is there anything else I 
>>>>>> should do beside using this command?
>>>>>>
>>>>>> (all of this will be going into a SEO guide for TW btw!)
>>>>>>
>>>>>> Thank you!
>>>>>> Anne-Laure.
>>>>>>
>>>>>>
>>>>>>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/cced5df7-03d0-4f21-aba6-1e5d7e0ed320%40googlegroups.com.

Reply via email to