Archive for July, 2009

Using jQuery to alter the search form

meta_description: 
Using jquery to alter the search input field in Drupal

I had someone today request that the search form on their site contain the word search and for that word to disappear once the user clicked on it (onfocus). I have set this sites search to do that for now.

On prior plain or other non Drupal sites I'd usually just set the value in the field and add an onfocus to clear it. Not wanting to hook the search form a quick jQuery addition to the template not only worked but didn't have the issues of browsers with out javascript enabled.

read more

Drupal Sitemaps

meta_description: 
Adding a sitemap module to create a sitemap.xml file to help focus the search engine bots on the content I want them to focus on.

Because this domain was bought and used for a while for development and testing for all kinds of things its got continual search bot traffic to those old urls. Some of them I do not want to delete and force a 404 to get rid of.

A couple of google gadgets and other things I'd like to keep. But the robots are not searching the new content they are continually pulling things that will never change.

A sitemap.xml file would help as the fact that those pages would not be listed should get them to give more attention to the newer / real content.

read more

More Drupal meta tag work

meta_description: 
Getting my meta description tag working how I wanted went well until I visited the taxonomy page and any other pages that weren't a normal node or the front page. drOn the taxonomy pages I get an empty meta description tag

Getting my meta description tag working how I wanted went well (Content Type Field Alterations  More meta tag work) until I visited the taxonomy page and any other pages that weren't a normal node or the front page.

read more

Adding an RSS aggregator module

Since much of my work over the last few months has switched to Drupal I have taken a domain I had sitting on empty to use for drupal specific (and occasionally other) information.

I wanted posts from there to at least appear partially here through some sort of RSS plugin so I installed the FeedWordPress plugin and seems to be working well except when I went to create this post I had to disable javascript to get the editor to load. I can’t blame that on the plugin but it was working fine a few days ago.

(One problem later noticed was that if the post on drupal used a relative url ‘/what-ver’ The link here would look here for a page /what-ever I need to use the full path in the drupal post to make the link work from here)

But other than that seems to import all info from my Drupal feed quite well including tags.

More meta tag work

meta_description: 
Now that I have my main content type collecting a meta description field I have to edit my template (For a few more days using Garland (I should have just copied Garland into the proper directory before I edited it but no worries for now)

Now that I have my main content type collecting a meta description field I have to edit my template (For a few more days using Garland (I should have just copied Garland into the proper directory before I edited it but no worries for now)

read more

Search
Categories
Archives