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.
wondering if you have any thoughts on what to do when flash content comes up in search results. its a bit annoying. check the attachment. im going to look into just outputting the node title but it'll be don't know if that'll be just a drupal fix for my site only or if site engines like google are reading everything as well.
Comment | File | Size | Author |
---|---|---|---|
searchresults.gif | 7.45 KB | aterchin |
Comments
Comment #1
douggreen CreditAttribution: douggreen commentedThis is really an issue with the search engine and we should filter these out.
But the solution is to put all your script code inside an HTML comment. This is what we had to do in the 1990's when some browsers didn't support script. And I think it's still good practice.
<script><!-- --></script>
See #257196
Comment #2
aterchin CreditAttribution: aterchin commenteddoug: thanks. i still don't know what i'm doing though.
wrapping the $content variable in:
isn't going to output my player.
the player should be the only thing in $content. everything else is taken care of with cck and output in panels2. so....
Comment #3
douggreen CreditAttribution: douggreen commentedI think that the bug is in swfobject_api.module on line 158, they need to put the javascript inside a comment.
This also seems to be a bug in Drupal core, and I'm addressing that in #257196.
Comment #4
arthurf CreditAttribution: arthurf commentedI'll take care of this and roll a new release
Comment #5
douggreen CreditAttribution: douggreen commentedPlease follow the other thread and make sure that this works, before rolling it in here. Thanks!
Comment #6
douggreen CreditAttribution: douggreen commentedOK, sorry, ignore comment #5, that is the solution. #257196 is now CNR.
Comment #7
arthurf CreditAttribution: arthurf commentedI've added a fix to DRUPAL-5 version of swfobject- can you give that a try and see if that fixes your problem?
Comment #8
aterchin CreditAttribution: aterchin commentedyeah, dl'ed the imageapi 5.x-1.x-dev release. seems to be working fine now when i do a search. the js code is gone. thanks.
the video doesnt show up though with this version, so i'll still use swfobject_api-5.x-1.2-15.tar.gz for now.
Comment #9
arthurf CreditAttribution: arthurf commentedThis should be resolved with the new approach to rendering the player