[TYPO3-doc] Spam filter prevents editing article

Joerg Wagner news.netfielders.de at digilog.de
Thu Aug 28 12:04:04 CEST 2008


Hi Cyrill, hi Daniel,

 > The problem are not external links, those are done differently 
anyway, > but those links in TS for example. I mean those do not 
actually link
 > anyway so could be allowed.... maybe thats not easy to implement now, 
 > so we will be patient until SEO is up and running.

without being an expert on this I think it is not possible to do that 
with regexp technology. You would have to check if any a-tag is 
correctly nested within pre-tags. Regexp can define Chomsky type 3 
languages ("regular languages"), but perfoming that nesting test would 
require a syntax check for a Chomsky type 2 language ("context free 
language"). Basically you cannot fully parse an HTML type nested 
language with regular expressions.

So let's wait patiently for Single Sign On to come.

Cheers,
Jörg.



Cyrill Helg schrieb:
> Am Thursday 28 August 2008 schrieb Daniel Bruessler:
>> Hello Joerg and Cyrill,
>>
>> what is spam? It's a bunch of a-Tags to external pages.
>> => no a-Tags
>>
>> You can change it: add a space after < or something similar so that it
>> will NOT be an a-tag. Maybe you have to write h-r-e-f or something. Be
>> creative :-)
> 
> The problem are not external links, those are done differently anyway, but 
> those links in TS for example. I mean those do not actually link anyway so 
> could be allowed.... maybe thats not easy to implement now, so we will be 
> patient until SEO is up and running.
> 
> Cheers!
> 
>> Cheers!
>> Daniel
>>
>> PS: When we have SSO in the wiki I can remove that spam-filters.
>>
>>> Am Wednesday 27 August 2008 schrieb Joerg Wagner:
>>>> Hi,
>>>> just tried to edit  http://wiki.typo3.org/index.php?title=TemplaVoila
>>>> and found that it is impossible to save the article. The spam regexp
>>>> filter finds "<a href" within the already existing (!) code of the page,
>>>> so saving it is not possible. But the "<a href" is no spam at all, it is
>>>> part of a TS example in the page:
>>>>    wrap = <a href="javascript:close();"> | </a>
>>>>
>>>> Any solution for that?
>>> I came across this problem too. I just edited the a tag of the links for
>>> temporary workaround. Lets wait for daniel what to do :)
>>>
>>> Cheers
>>>
>>> PS: Are you going to clean up that page? Would be great :)
>> _______________________________________________
>> TYPO3-project-documentation mailing list
>> TYPO3-project-documentation at lists.netfielders.de
>> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-project-document
>> ation
> 
> 


More information about the TYPO3-project-documentation mailing list