Integration with Paging Module

Created on 4 April 2011, almost 14 years ago
Updated 26 August 2024, 5 months ago

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?

Feature request
Status

Closed: outdated

Version

1.0

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

No activities found.

Production build 0.71.5 2024