highlighting

Events happening in the community are now at Drupal community events on www.drupal.org.
Harrietech's picture

Highlight search results

I cannot get the 'highlight search word' feature to work, and wonder if I've got the HTML selector wrong or something else? Attaching a screenshot of my settings for this. Would be grateful for any suggestions! Thanks.

Read more
egil's picture

Prettify module for syntax highlighting of code

Hi all,

I created a module (my first) that enables syntax highlighting of source code snippets in nodes. The module uses the google-code-prettify JavaScript library to do the highlighting (http://code.google.com/p/google-code-prettify/).

It works in a none-obtrusive through an input filter, that looks for all pre or code tags and modifies then as needed to enable the highlighting. That has the benefit of making it easy to replace or remove later, as the original node text is not modified.

Read more
maxmmize's picture

Managed to lose Highlighting

Hi,

I've managed to lose highlighting in my description/teaser.

http://drupal.org/node/970928
http://drupal.org/node/968308

I have it turned on in my solrconfig.xml line 183. It is set to true.

It was working when i was using Jetty and Solr 1.4.0, then I switched to Tomcat and created a new Solr 1.4.1 instance. I modified my teaser length as noted above. I basically just crawled and kept the entire page using nutch, passed it to Solr and displayed my teaser with <?php print substr($snippet, 0, +400); ?> ...<br/>

Read more
Subscribe with RSS Syndicate content