Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
There are a couple of things that we should add to OC: (Indexing those fields below in OC and provide suggestions)
1. Title
2. Any additional text fields or text area fields
Sometimes this might not apply and we might just wanna index the body field but in most cases it makes sense to index additional textfields and textareas. We also need to balance out so that user does not have to put a lot of additional configuration "per content type"
Comment | File | Size | Author |
---|---|---|---|
#4 | opencalais-2016525-4.patch | 5.25 KB | xcf33 |
#1 | opencalais-2016525-1.patch | 2.38 KB | xcf33 |
Comments
Comment #1
xcf33 CreditAttribution: xcf33 commentedAttached is a first attempt to just automatically "add" all the textfield and text area as well as title into a long html string and sent to OC to process.
Comment #2
xcf33 CreditAttribution: xcf33 commentedComment #3
franzwhitespace at the end of string
whitespace
This looks like it would be more readable/overrideable in a tpl.php
Comment #4
xcf33 CreditAttribution: xcf33 commentedNew patch respecting a new optional configuration per content type, also moved the the theme function into a tpl
Comment #5
ElusiveMind CreditAttribution: ElusiveMind commentedOld ticket I know - but what about a configuration screen in the module that allows you to select which fields are indexed by OC?
Comment #6
ElusiveMind CreditAttribution: ElusiveMind commentedMoving this to the head of the line for v1.2 which will start next week
Comment #7
ElusiveMind CreditAttribution: ElusiveMind commentedComment #9
ElusiveMind CreditAttribution: ElusiveMind commentedComment #10
ElusiveMind CreditAttribution: ElusiveMind commented