Embedding Quotes
You can embed the quotes on your homepage. Try calling this URL: https://www.zitat-service.de/quote?category=English. By refreshing the page, you will receive the next random quote in your browser.
Joomla
The integration with the CMS Joomla is described here: joomla.
IFRAME and CSS
Integration into your pages is done with inline frames (iframe) and can be adapted to your site with cascading stylesheets (CSS). Here's an example of what it looks like:
The iframe entry on this page is:
Simply use it for your first test.
CSS
Once you have successfully integrated the iframe into your site,
you can create a CSS file according to your preferences.
You can use quote.css as a template and adapt it to your needs. Include your custom CSS with the style
parameter.
The DIV element of the quote class wraps around the entire quote, where you can, for example, set a border. It contains two DIV elements of the quotation class for the quote and the source class for the author and source.
Parameters
For the quote query, you can use the parameters category for the category, user for the username of the quote creator, and author for the name of the quote author, in addition to the style parameter for the stylesheet. You will then receive quotes only from that category, by that user, or by the author with that last name. For example, you can get quotes from Einstein with:
With the content_only parameter, the quote is delivered with CSS DIVs only, without an HTML header.
With the encoding parameter, you can specify the encoding. The default is ISO-8859-1, but you can change it to, for example, UTF-8 with this parameter.
Another parameter is window. Without this parameter, links open in the current window (_parent). With window=quote, for example, links open in a new window.
You can also combine the parameters. For example, to query all quotes from user "heiko" in the category "WasBedeutetLiebe" and include a stylesheet, you would use:
Practical Examples
For inspiration, here are some websites that have integrated the Quote Service (as of May 1, 2023):
- Georg Szloszjar (Joomla)
- Michael Faller – WebDesign und mehr (Joomla, new tab)
- Foto- und Videoblog von Angel und Andreas (Joomla)
- dombergen.de/vwl (Joomla, category Geld, author Keynes)
- Buggy Club Schweiz (Joomla)
- Samariterverein Niedergösgen (Joomla)
- Systemberatung Heiko Lübbe (Hugo, category programming, user heiko)
- Hausseite Heiko Lübbe (iframe)