Mandolin Resources

RELATED

Get Cafe Classifieds On Your Web Site

Get the ten most recent Mandolin Cafe Classifieds added to your web site. For web site owners, you only need to insert a small snippet of code into your site once.

How To

Copy and paste the following into your web site at the location where you'd like the ads to appear:

<script type="text/javascript" src="http://www.mandolincafe.com/classifieds/classifieds.js"> </script>

Doing so will produce the live example below that displays the most recent ten Cafe Classifieds entries, and as new ads are posted, your site is automatically updated.

Minor Technical Goomba

We've purposefully not attempted to control the look and feel of the text to be displayed on your site. The above is surrounded only by a paragraph tag (<p>) and an unordered list with list items (<ul> and <li>).

This will allow those of you with some HTML and CSS (Cascading Style Sheets) experience the freedom to style the results the way you want them to look so that they match your web site.

For example, the best way would be to control the HTML elements through a CSS styled <div> tag to match your web site's font's, colors, background, etc.

Those of you using portals or have some technical savvy may prefer to do this via our RSS Channel.

That's all there is to it, but if you'd like assistance in getting this up and running, feel free to contact us.

Infrequently Asked Questions

Q: Will this information automatically update my web page when a new classifieds is added?

A: Yes. Each time you access the page on your web site with this snippet of code you'll see the ten most recent ads appearing on the Cafe Classifieds. However, if you're looking at the page and walk away for an hour and come back, you must refresh or reload your web browser to see something new that has since been added to the classifieds. Web pages cache locally on your PC (or Mac), meaning you may be looking at old information that has recently been updated.

To prevent caching, you can add a the following code between your ending </title> and beginning <body> tag to automatically refresh the page every ten minutes:

<meta http-equiv="refresh" content="600">

Q: It's not working for me. What's wrong?

A: If you're using some type of WYSISYG editor or some type of content management system provided by (as example) AOL or other software, it's possible it could be converting what you cut and paste into something other than what it should be. Feel free to contact us if you'd like help.

Q: Hey, geek mando-dude, I don't have the technical expertise to get this installed or to customize it to match my site and don't want to spend the next year of my life trying to find out how. Will you help me?

A: Sure, all you need to do is ask.

Q: It works for me, but visitors to my site have report they can't see it. What's up with that?

A: To be visible, a user's browser must be running JavaScript. By default it's turned on in most browsers. This setting is located inside the browser's preferences.

Q: Is this service part of a bigger plot to exercise total control over all global mandolin pricing as has been observed on the Mandolin Cafe Message Board?

A: Mu ha ha ha ha!

Example Sites

Some web sites using this include:

If your site is making use of this script and not listed here, drop us a line and we'll add it.

Breedlove MandolinsThe Mandolin StoreFirst Quality MusicD'Addario StringsJanet Davis MusicThe Acoustic Music CompanyMandoDan's Quality Used MandolinsFiddlers GreenAcoustic Vibes MusicCollings MandolinsJustStrings.comEastman MandolinsElderly Instruments
© Mandolin Cafe