HOWTO: Creating a URL Shortcut for Drupal API Documentation in Firefox
Every Drupal developer/hacker knows (or should know!) about the fantastic API Documentation the project has. This growing collection of documentation is one of the top reasons that Drupal continues to grow and expand as quickly as it does. It makes it very inviting for engineers to start getting savvy.
This started out more than a year ago as an independent project called "drupaldocs.org," and at that time there was a neat feature that let you type drupaldocs.org/function_name into your browser's location bar, and it would pull up that function, or search for function names containing whatever you typed if no exact match was found. This is similar to how php.net works (try php.net/preg_replace for instance), and it's a really nice thing for developers like me who elect to outsource memorizing engineering minutia like argument-order and specific syntax to the collective intelligence.
However, with the launch of api.drupal.org, the old style of finding functions went away. Alas! For months I despaired, until some of the heads in #drupal (developer chat channel) clued me in to a great feature in Firefox that lets you define wildcards in bookmarks.

As it turns out, there still is a url that you can add a function_name to on api.drupal.org to perform a quick search, but it's http://api.drupal.org/apis/4.7/function_name (or http://api.drupal.org/apis/HEAD/function_name if you want to search the budding 5.0 code). Using Firefox's bookmark interface (see the image there), I created a bookmark with a wildcard (%s) and a keyword (api). This lets me type "api function_name" into my browser toolbar, getting access to the documentation faster than ever!
While many engineers with a background in big-league IT will probably remain committed to Integrated Development Environments, collecting little tips and tricks like these can give us upstarts and new-schoolers a lot of power and flexibility without very much work at all. Happy drupalling!













Firefox users can also
Firefox users can also install one of the available extensions to search the Drupal API and the drupal.org site.
mycroft.mozdev.org
Ooh nice!
I'll have to check that out. I love the Firefox extension scene... the browser-as-platform thing is the future.
Josh, you just made my day.
Josh, you just made my day. This is my new favorite blog of the week.
thank u
thank u
great post
we love it
movers
jammer
FF wildcard for complete idiots
I was unable to follow the instructions above.
I found this, and I got it.
http://www.rhs.com/web/blog/rhs.nsf/stories/CoolMozilaFirefoxlTrickWildcardBookmarkShortcutsExposing the POST query with formget Favelet
If the URL query is not exposed for your examination, add a favelet to your bookmarks to change the query from POST to GET:
Use these bookmark properties
Name: formget
Location:
javascript:(function(){var x,i; x = document.forms; for (i = 0; i < x.length; ++i) x[i].method=%22get%22; alert(%22Changed %22 + x.length + %22 forms to use the GET method. After submitting a form from this page, you should be able to bookmark the result.%22); })();
Keyword: formget
Description:
Turns all Post forms on a page into Get forms, allowing you to bookmark a search-results page.
-------------------
For example if I search for "seattle" I get this URL:
http://groups.drupal.org/search/node/seattle
However, if I use formget, and then do a search for "seattle", I get this query URL
Now I can substitute "%s" for "seattle" and setup a keyword search bookmark for the drupal groups.
Keyword: drupalgroups
Now I can enter
URL Location: drupalgroups seattle
Clarification
I realize the URL below will work just as well as the elaborate example above. I wanted to show how the formget works on any web site that uses a form POST to query.
http://groups.drupal.org/search/node/%s
Use with del.icio.us
It looks like this is possible if you use the del.icio.us ff extension (There's a field for keyword) but I can't figure it out. I can only get the keyword to work without the %s. When I throw that in there it doesn't know what to do and sends me on a google search of "api theme" or whatever I was trying to search for.
Now that is cool
Note that the path has changed recently to:
http://api.drupal.org/api/5/function/%s
Gotapi has it all !
Gotapi is a nice solution for having all api documentation you need in one place... Drupal 4.7/head documentation is accessible through this site.
http://www.gotapi.com/
For UbNub fans
For fans of YubNub (yubnub.org), I've created a YubNub command for this.
Example1: dapi base_path
Returns the Drupal 5 API documentation for base_path()
Example2: dapi db_error
Returns the Drupal 5 API documentation for db_error()
prostat
Prostat kanserli hastalar için farklı tedavi tipleri mümkündür. Bazı tedaviler standart (şuanda kullanılan tedavi) ve bazılarıda klinik denemelerde test edilenlerdir.prostat Tedavi başlamadan önce, hasta klinik denemeye katılmak hakkında düşünmek isteyebilir. Bir klinik tedavi denemesi bugünkü tedaviyi geliştirmeye yardım etmek yada kanserli hastalar için yeni tedavilerden bilgi edinmek için oluşturulmuş araştırma çalışmasıdır.prostat Klinik denemeler yeni tedavinin standart tedaviden iyi olduğunu gösterdiğinde, yeni tedavi standart tedavi olabilecektir.
good aol
Wow - I haven’t been looking this forward to installing a module for a long time - good idea, good work!
They changed it again!
The correct URL's for the various versions are now:
http://api.drupal.org/api/%s/4.7
http://api.drupal.org/api/%s/5
http://api.drupal.org/api/%s/6
http://api.drupal.org/api/%s/7
Pete.
Thank you pete,I was looking
Thank you pete,I was looking for different versions.
Car Games
Offline Drupal API in iPhone
Just in case any one needed, offline drupal api in iPhone
Offline Drupal API in iPhone
Good e book store options
Good e book store options Koxp
Thank you
El otro dia me fui a una Tienda informatica a comprar unos altavoves estereo cuando me di cuenta
de que la Informatica es algo muy minteresante. Y quise contarselo a t odo el mundo, pero se hzo de noch asi que tuve que volver al dia siguiente a la Tienda informatica a por mis altavoces.
Ya de paso digo que me paso a la Farmacia online de mi madre a comprarme unas tiritas y si no las tiene me voy a la de Farmacia de mi madre. Pos nada, yo creo que con esto y un bizcocho hasta mañana a las ocho.
Esto es un link muy guay http://compugali.es este tambien http://tiendainformaticagalaica.es este ya no te digo http://tiendainformaticabarata.es y este buah, lo mas de lo mas http://parafarmaciamasbarata.es
Esteban dice qu este es mejor todavia 123farmaciaonline.es, bueno nada mas un saludo a los premiados y hasta otra.
Drupal API Documentation in Firefox
Hi, this is good solution. Thank you for your information.
saç ekimi
Firefox
Good job. Thank you.
While many engineers with a background in big-league IT will probably remain committed to Integrated Development Environments, collecting little tips and tricks like these can give us upstarts and new-schoolers a lot of power and flexibility without very much work at all.
http://www.estetik-plastik-cerrahi.com