Heya,

I made a custom page, like this:

$items['mailing_list'] = array(
'title' => 'Mailing list',
'page callback' => 'mailing_list_page',
'access arguments' => array('access mailing list'),
);

I define the content in mailing_list_page(). But now, is it possible to index the content on that page, so it can be found by searching?

Comments

justageek’s picture

Not sure I follow this, can you just create a Page node or a custom CCK content type and create a node, instead of making a module just to output a page?

bertds’s picture

Not really a need for a new content type, since It's only one page. It's a mailing list, which gets loaded from an Active Directory, and stored in my database for caching. So lets say I search for a specific name with the standard Drupal search, I also want to display a possible match in the mailing list