External link with parameters

I have a database of books that includes ISBN numbers. On Worldcat’s
website, it is really easy to get a URL for a book if you have the ISBN
number. For instance, bn:0151327653 - Search Results.

I would like to be able to take the ISBN number from my database and put
it into a link in the record view. I know how to use link_to to link to
external sites, and to generate links to actions in the database, but
how can I make a link to an external site that includes data from my
database?

All help is greatly appreciated!

Morgan K. wrote:

I have a database of books that includes ISBN numbers. On Worldcat’s
website, it is really easy to get a URL for a book if you have the ISBN
number. For instance, bn:0151327653 - Search Results.

I would like to be able to take the ISBN number from my database and put
it into a link in the record view. I know how to use link_to to link to
external sites, and to generate links to actions in the database, but
how can I make a link to an external site that includes data from my
database?

All help is greatly appreciated!

i guess if you create a string with the url will work… like this

URL.ORGanizer: Store, share and tag your favourite links

URL.ORGanizer: Store, share and tag your favourite links

Yep, that works - I didn’t realize I could pass data into a string like
that. Thank you!