Search Engine / Function

Date May 29, 2002

Changed a piece of code in Search.pm

for people interested: [download here the MT-Search Engine]

Code Sample: (line 348 of Search.pm)
$result_data{’MTENTRYLINK’} = $blog->archive_url . $sep . $entry->archive_file;
changing to:
$result_data{’MTENTRYLINK’} = $blog->archive_url . $sep . $entry->archive_file . ‘#’ . (sprintf “%06d”, $entry->id);

100% satisfied I am! Searching and going direct to the entryID .. I tell ya:
Movabletype rocks !

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

After submitting a comment you can MODIFY it again by clicking the message or name

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word