Archive for the ‘How to's’ Category

What is XML? And What is RSS? Why Do I Want It Anyways?

Sunday, March 16th, 2003

Some of you may read my personal blog where I have spent days now talking about XML, RSS, and why you want to upgrade your template. I realized as comments came in that an explanation was in order.

XML - There is another “language” (per se, for lack of better term) out there called XML. We are all familiar with HTML - it allows your content to display in a web browser. XML, “extensible markup language,” is another way of sharing your information. It uses tags that can be defined and from there other applications can use the data. It is handy for sharing information from a site with a news reader, or a feed on a webpage.

RSS - RSS is a flavor of writing out XML. It stands for “Really Simple Syndication”. I do not know enough of the history here, and I am not the person to explain this. I do know that often people use the terms interchangeably, and the XML template here at ScriptyGoddess is written in RSS 2.0. (If you have more info on this, feel free to share.) There is information on RSS here that is worth reading if you want to dig deeper.

Syndication - Have you ever seen news from one site on another? For example, your company may have an Intranet, and it may offer up MSN news on it. This is syndication. If you have an XML page, you can offer up your content to be syndicated on other sites.

So now we know what XML is, and what RSS. The next step is News Readers. There are a number of them out there - NetNewsWire for the Mac; Syndirella, Newzcrawler, FeedReader, and others for the PC.

I changed jobs recently, and I don’t have a lot of time now to surf the sites I used to surf daily. It’s hard to keep up with everything. However, I realized while I was at SXSW Interactive this past week that if I downloaded a news reader that might help me keep on top of everything. Anil Dash pointed out in a panel that with a News Reader, he could stay on top of 10,000 blogs if he wanted to. I personally caught up on close to 100 in 15 minutes earlier today - I skipped the ones that didn’t update and read the ones that did, commenting on several as I went along.

However, while a lot of people that use MT have an index.xml template for their site, they are using the original default one that came with earlier installations. These feeds only contain excerpts of posts, as Jay Allen pointed out to me back in January. What ends up happening for most sites is you just see a few words like this in the news reader (From Michele’s feed):

“My life has not been “normal” since September 10, 2001. I imagine it’s the same for most of you. I…”

However, with an upgraded index.xml template using the instructions offered by Lisa at her site or from Dive Into Mark, the feed would look like this:

“My life has not been “normal” since September 10, 2001. I imagine it’s the same for most of you. I want my life back. I want to go back to the place where my children didn’t ask me a million questions every night that I just can’t answer.”

With full posts in your index.xml file, people that use a news reader can read your posts quickly & easily. In the end, you will probably be more read and people may just come back more often to leave comments because you’ve simplified it for them.

XML is not like PHP. You don’t need anything special on your server because you don’t run it. It is much more like HTML. You are creating a file that a news reader can then parse and feed to the end user. It’s a good thing.

If you use Blogger you can also set up an RSS Feed using RSSify. There are instructions at their site.

As I learned at SXSW, no one knows for sure where blogs are going. I can all but guarantee that the need for a feed that offers up full posts for users is definitely something you should add now. It’s quick and easy - just a template upgrade. Another way to share your words - and your visitors will thank you.

EDITED: If you are using a news reader, be kind to the people whose feeds you are pulling down. This became clear to me after reading Dori’s post on the issue. Most readers allow you to edit the number of times you pull a feed from a site. I have mine set for every 3-4 hours for most of the sites I visit, others I have set for 1 hour. Be kind and don’t pull their feeds too often!

RSS feeds

Sunday, March 16th, 2003

Christine has been rallying to get everyone to set up RSS feeds. She’s even gotten Jennifer involved. Solonor is also involved in spreading the word.

To show my support, I’ve posted my RSS feeds (on my site). If you’re using the restricted post hack, you do not want to use my feeds. Instead, try Mark’s (of Dive into Mark) feed.

If you have questions about my feeds, please let me a comment here or on my blog and I’ll get back to you.

Live Preview and Smilies

Sunday, February 23rd, 2003

Oscar Hills put together a tutorial at the MT Forums about using the Live Preview script from over here together with clickable smilies which show up in the Preview. With all the talk about smilies lately, I thought it was worth linking over here too :)

IP blocking and custom 404 & 403 with htaccess

Tuesday, November 26th, 2002

This is old news, but because I’ve often needed to look for the exact syntax, I’m putting it up here.
(more…)

Custom font size, and colors (like on this site)

Wednesday, October 30th, 2002

Someone asked me to post a tutorial on how I did the custom colors, and font sizes. I can’t take sole credit for it, it’s a very simple solution based completely on a combination of methods.

In fact, in some ways, the “a list apart” way is better because you can let your users select which stylesheet they want to use… My reason behind the way that I did it was that maintaining skins was too much trouble, as was maintaining mulitple stylesheets… I want to add a style… gotta do it in every location… and with the way I did it here, users can enter in their own hex value for color, so it upped the value even more… I was then able to use the same basic idea for the font size.

I’ll describe the color part, but you can technically use this to customize MANY other values in the CSS:
(more…)

PDA Page for MT

Monday, October 14th, 2002

A PDA Page is a stripped down, no graphics version of your MovableType blog (for
example, here is my pda version).
The purpose is to allow mobile web devices such as PDAs (PalmPilot, PocketPC,
Visor) and cell phones to view your Blog without having to download all of the
images, blogrolls, and link lists that may be on your front page. It also
enables programs such as "AvantGo,"
"Plucker" and "Mazingo"
to download small versions of your page for offline viewing.

By the way, images posted in your blog entries will still show up on the pda
page, but I bet we can get a ScriptyGoddess to come up with a way around that
(hint, hint).

For users of GreyMatter, I have a tutorial on how to create a PDA page in
GM located here on my site. I
hope to republish it here very soon.

This tutorial is based on code that
Christine
shared with me many months ago. I modified hers a little, and you
should feel free to modify this code as well.

(more…)

Wander lust pinging

Sunday, October 13th, 2002

Kristine posted here before about wander lust - And now with MT 2.5 you can ping them. She posted the instructions here.
(more…)

Little Green Footbal Referrer hack: Display date

Sunday, October 13th, 2002

Kristine posted on her blog a few weeks ago that she added the date/time to the show referrers. Since I can’t see another toy and not know how it’s done (and have it for myself) - I figured out how to do it…
(more…)

Clippings: bookmarks in your site

Thursday, August 29th, 2002

I came across this awesome article that shows how to add some javascript to your site that will allow users to “clip” or bookmark particular entries at your site for easy reference later on. If you want to have a look, I’ve implimented this in most sections of my site.
(more…)

How to make links open in the sidebar

Monday, August 5th, 2002

Use this only where appropriate please (like to show a list of links, etc. etc.) if you did this with all your links, it could get v. v. annoying. LOL!

It’s a very simple piece of code that does this:

<a href=”javascript:void(_search=open(’http://www.somesite.com/PAGE/YOU/WANT/TO/OPEN.htm‘,’_search’))”>

update: also, on the page you have opening in the sidebar… if you want links from that page to open in the main window, either add this inside the A tag:
target=”_main”
or add this insdie the head tags:
<base target=”_main”>

Please note this works for PC IE only.