[TYPO3-dev] Why not allowed doktype=4 crawler

Nicole Cordes cordes at cps-it.de
Wed Jul 20 11:05:20 CEST 2011


Ho Tomas,

I think because 4 is the doktype for shurtcut which is just a forward to
another page. So it doesn't make any sense to crawl it for search.


Nicole Cordes

> -----Ursprüngliche Nachricht-----
> Von: typo3-dev-bounces at lists.typo3.org
[mailto:typo3-dev-bounces at lists.typo3.org]
> Im Auftrag von Tomas Norre Mikkelsen
> Gesendet: Mittwoch, 20. Juli 2011 09:25
> An: typo3-dev at lists.typo3.org
> Betreff: [TYPO3-dev] Why not allowed doktype=4 crawler
> 
> Hi,
> 
> Why is doktype=4 not allowed by the #TYPO3 #crawler #ext ?
> 
> if (!$skipPage) {
>    if (t3lib_div::inList('3,4', $pageRow['doktype']) ||
$pageRow['doktype']>=199){
>      $skipPage = true;$skipMessage = 'Because doktype is not allowed';
>    }
> }
> 
> --
> Venlig Hilsen / Best Regards
> Tomas Norre Mikkelsen
> Tomasnorre at gmail.com
> 
> Follow me at twitter
> Twitter.com/tomasnorre
> _______________________________________________
> TYPO3-dev mailing list
> TYPO3-dev at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-dev





More information about the TYPO3-dev mailing list