Hi,
I'm making an encyclopedia type of website and freelinking module was really helpfull to link content to eachother. However the freelinking process between brackets was made trough a processus treating large amount of .xml files with special rules that then were uploaded to my wesite. after that process some links didn't had any target and I would like the link to not apear for users when reading the article (they don't have the right to create content anyway). Of course I would like that without having to rewrite the 5000 contents. Any ideas about how I could do that ? Making something that could remove the brackets if content wasn't found for the freelink ?
I would apreciate any help thanks to the Drupal Community.
Comments
Comment #1
pbonnefoi commentedAny answers ? Can at least someone tell if it's possible or not ? Thanks
Comment #2
Grayside commentedIt's possible. I think this should be handled as part of the migration process, which means a script you create (possibly as a drush command) to run over the content, run the text through the freelinking filter in such a way that you keep track of the original string to replace it if the target does not exist.
Depending on how you do it, the dgrep command in http://drupal.org/project/drush_extras may be useful.
Comment #3
juampynr commented@pitair, do you need further help on this issue?
Comment #4
juampynr commentedClosing. No further feedback.