« Don't Believe the Browser Stats You Hear of | Main | This Post is A Joke. »
January 24, 2005
Using Carpe with WordPress
Someone sent me a question last week wondering how to use Carpe in their side panel/column with Wordpress. Wordpress is an open source blogging program and recognized as one of the top blog software programs available today. If you are unfamiliar with it you can learn more about it here:
http://wordpress.org
>
> Given that wordpress cannot cope with Javascript I need to convert
> the RSS feeds to HTML, I understand that "Carp" is the best to use
> http://www.geckotribe.com/rss/carp/
>
> Do you know anything about this?, Is there another solution perhaps?
I haven't installed Wordpress for anyone but I understand all of the pages are based on PHP templates... and so is Carpe
The install for Carpe isn't that hard, but you need to know how to set permissions on directories. The instructions seem pretty clear if I recall.
Just to see what all of the fuss was about I installed Carpe on my site, but after I installed it and saw what it was all about, I didn't do anything with it. You can see my test page here.
If you re-size your browser you can imagine what it might look like in your side column.
If you use your browser view source you will see the html mark-up is very generic... no font tags headings or style information.
That makes it perfect for people to syndicate or include into the blog. Here is why:
You put the content into a new DIV tag that you add to your wordpress template. Let's say you call it like this:
<div id="carpe">
<?php
require_once '/home/yoursite/carp/carp.php';
CarpCacheShow('http://www.yoursite.com/mt/index.xml');
?>
</div>
Now that you have an ID assigned to the tag you can style the tags within that DIV... example
#carpe {
background-color: #ffffff;
width:200px;
height:425px;
overflow: auto;
}
#carpe p {
font-family: arial, verdana, sans-serif;
font-size: 10pt;
}
#carpe a:hover {
background-color: yellow;
text-decoration: underline;
}
See? The tags relating to that DIV ID can be styled separate from anything else. (This is only an example) This is what I would do if I wanted to include my carpe syndicated page within the body of my blog.
So.. example any <p></p> elements inside this unique DIV will inherit the styles specified for the correct ID.
They have some examples on the Carpe website about adding style but I don't like their idea as well as my own ;-)
>
> I don't want to call my
> techie every five minutes if you understand!!!
The only thing you might have trouble with that I can think of is setting permissions for directories. But it is done the exact same way you set permissions for a file. About 7 years ago (I think) I wrote a tutorial on using WS_FTP and in the tutorial on page 16, I show how to set permissions on a file. You would follow the exact same procedure by highlighting a directory in WS_FTP rather then a file. You can see the tutorial here.
Posted by Steve MacLellan at January 24, 2005 07:26 AM
Trackback Pings
TrackBack URL for this entry:
http://www.homebusiness-websites.com/mt/mt-tb.cgi/109
Comments
Post a comment
Thanks for signing in, . Now you can comment. (sign out)
(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)