| «« Can I TrackBack Myself? | The Hundred-Year Language »» |
|
About
I'm Ryan Lowe, a Software Engineering graduate living in Ottawa, Canada. I like agile software development and Ruby on Rails.
I write this blog in Canadian English and don't use a spell checker. Typos happen.
Projects
» Full-time Ruby on Rails freelancer
» Full-time with Rails since May 2005 » Former committer for RadRails (now Aptana) » I also have a few Rails side-projects in development: 1. wheretogoinTO.com Toronto nightlife 2. Hey Heads Up! TODO list and sharing 3. Layered Genealogy family history research 4. foos for foosball scoring 5. fanconcert for music fans (on hold) Hiring Rails developers? I can telecommute by the hour from Ottawa, Canada »» Email: rails AT ryanlowe DOT ca
BulletBlog
Now hosted on Hey! Heads Up -- check it out!
Syndication
Pings
Recent
Derek Lowe's (Ryan's older brother) words at Ryan's funeral
blog@ryanlowe.ca no more Forging Email Headers: Good, Bad or Ugly? Sarcastic Dictionary (Part 1 of Many) Tags Hierarchies Twisting Rails is Risky Business Risky Business? My Take on Early Alphas Whoa, it's August 2007 Closing Comments A Postscript to "Growth at the grassroots" »» All Blog Posts
Linkage
del.icio.us/ryanlowe
technorati/ryanlowe.ca/blog Aurora Roy Jim Andrew Trasker Travis Kibbee Karen Dr. Unk Ayana Van Bloggers Joel Spolsky Robert Scoble Tim Bray Dave Winer Raymond Chen James Robertson Ruby/Rails Bloggers rubyonrails.org weblog David Heinemeier Hansson Dave Thomas James Duncan Davidson Mike Clark Jamis Buck Signal vs. Noise Tobias Luetke Amy Hoy: (24)slash7 Jeremy Voorhis Eclipse Bloggers Planet Eclipse EclipseZone Luis de la Rosa Eclipse Foundation Kim Horne Billy Biggs Ian Skerrett Mike Milinkovich Bjorn Freeman-Benson Denis Roy
Archives
|
Blog Images
MoveableType organises files in a way that makes putting images in your blog difficult. When I add my images directory, the directory structure looks like: blog/ I want to use relative image paths in my posts so that I can move the directories around and not break the images. But the posts exist in two different directories, blog/ and archives/. Now I could put the archives in the root to solve the problem but that would just make a big mess. Instead I use "images/img.jpg" relative path for images and made a symbolic link in the blog/ directory to archives/images/: [blog]$ ln -s archives/images images I'm open to other suggestions as well. There must be a more elegant way to do it. Posted at April 18, 2003 at 12:36 AM ESTLast updated April 18, 2003 at 12:36 AM EST Comments
How are the actual blog posts stored? Why not just read everything from the archives onto the main page... (Keep in mind I know nothing about MovableType...) » Posted by: Peter at April 18, 2003 12:51 PMThey are stored in a database and the pages are generated statically. There's one page in the archives for each post and then an index that has posts from the last 7 days. » Posted by: ryan at April 18, 2003 01:56 PM"Why not just read everything from the archives onto the main page?" If you read the posts into the index (ie. with a PHP include()) they'll be looking for images in images/ directory from blog/ which doesn't exist without the symbolic link. Relative paths complicates things. Besides, I don't want to make my own index page. It's a lot more work than a symbolic link - and less elegant. I want to work with MoveableType not against it. » Posted by: ryan at April 18, 2003 02:08 PMI like 'ln -s archives/images images'. I think it's elegant and classy :-P » Posted by: roy at April 18, 2003 03:07 PMi have blogger FREE will with work on it? » Posted by: at October 4, 2003 10:48 AMhow can i change the background on my blog? do u know how to? please e-mail me! » Posted by: brittany at April 20, 2004 02:37 PM |