CHAPTER 16 (Web server info) CHANGING THE LOOK OF YOUR
CHAPTER 16 CHANGING THE LOOK OF YOUR BLOG 447 Adjusting the Links The links appear in the sidebar, but they are not quite as pretty as you might like. Let s add some style rules for the header and the list to the end of the style.css style sheet, as shown in Listing 16-5. Listing 16-5. CSS Rules for the List of Links Added to style.css #right h2 { margin-top: 1.2em; } ul.rsslinks { list-style-type: none; margin:0; padding-left: 10px; } ul.rsslinks li { margin-top: 4px; margin-left: 1em; text-indent: -1em; } Also notice that some of the links have a description after them. If the RSS feed includes a description, the plug-in will display it by default. You can turn that off quite easily. Another default the plug-in provides is the number of links, which is 15. I think 10 is a more suitable number. The resultant code in the index.php template file looks like Listing 16-6. Listing 16-6. Additional Parameters to Restrict the Link List Output in index.php
- “http://del.icio.us/rss/tag/wordpress+tools”, “show_description”=>FALSE, “num_items”=>10)); ?>
If you check your blog page now, it should look like Figure 16-12. You will see the list looks much neater and blends in with the rest of the content. You have now added an external resource as part of the blog. Here, I chose one that is pertinent to the readers. You could also have added a feed of related news items from another web site or a list of the latest topics from a companion forum. The possibilities are quite extensive. As long as there is a resource available in RSS format, you can add it this way.
Note: If you are looking for cheap and reliable webhost to host and run your mysql application check mysql web server services.