Thank you for this fantastic module.

The current version counts the characters of the node body.

I have a lot of articles of at least 8000 characters and break these into parts of about 3000 characters with the paging module. As search engine will see several pages of 3000 characters. For SEO the first page only has to be analysed.

I made a quick and dirty patch to analyse the first page only. In contentanalysis.module I changed

$context['inputs']['body'] = ($_POST['body']=='-1')?NULL:$_POST['body'];

into:

$context['inputs']['body'] = substr(($_POST['body']=='-1')?NULL:$_POST['body'],0,3000);

It would be better to use the character length variable of the paging module if this module is installed. I tried to do that but without succes (I'm an amateur programmer). Maybe somebody knows how and maybe this is interesting as an extra feature?

Comments

kyletaylored’s picture

Issue summary: View changes
Status: Active » Closed (outdated)