Tag Info

Hot answers tagged

18

I see at least three possible (good) reasons: Use another machine to serve the static content Including some CDN Use another web-server to serve the static content Something more lightweight and faster No need for a full PHP/.NET/JAVA server to serve static content! Using another domain name means that you'll be able to not have the cookies that are ...


7

Dan Bricklin, creator of VisiCalc, has a free product called Software Garden ListGarden that generates RSS feeds manually:


3

I can't think of anything off the shelf, but you could be pretty easily script something like this in Ruby for example. Nokogiri is a very popular XML and HTML parser that you should use to read the page given the link the webmaster provides. Then you could extract the excerpt text and title. You can read in your existing feed XML, add the new info, and ...


2

Sorry but no, you can't. WordPress is entirely scripted in PHP. If you host a copy of a WordPress installation on a S3 bucket you will be lacking the PHP interpreter and the mySQL engine. The whole deal with EC2 is having a virtual machine so you can run services like a mysql server or a php instance. Anyway, with some elbow grease you could host a static ...


2

No VCS includes timestamp as metadata, even some do include permission bits. I think it's because when VCS tracks file contents, the last-modified time is not coherent. E.g. when someone modify a file, then undo, the last-modified time changes, but that file should keep the same version. BTW, Subversion has an option use-commit-times to use commit time as ...


2

... use cookie-free domains for components. When the browser makes a request for a static image and sends cookies together with the request, the server doesn’t have any use for those cookies. So they only create network traffic for no good reason. You should make sure static components are requested with cookie-free requests. Create a ...


1

Created November 29, 2012. Last modified December 1, 2012. Alternatively: Created 2012-11-29. Last modified 2012-12-01. Trying to do use automated processes for this in the case of three static pages, probably to be modified once a year or so, would really be overkill. It would also be error-prone. Most “last modified” scripts use the last write access to ...


1

Since they are all static HTML pages you should create a server side include. A single HTML file that is included into all other HTML files. Now after you update your websites you'll only have to update this single HTML file and write Last updated 11/29/2012 and it'll show up on all the pages. You can place the included HTML file in your footer which is ...


1

It's called magic variables. {{block type="catalog/product_list" template="catalog/product/list.phtml"}} is equivalent to layout's XML: block type="catalog/product_list" template="catalog/product/list.phtml" / that you can find in catalog.xml in example. Type attribute points to class - in this example it's: Mage_Catalog_Block_Product_List ...


1

I've been working on a similar problem this week, a website I've taken over has 4,000+ broken links because the site was migrated away from an old CMS, so all the URL's are different. The only way I've managed to solve the problem is by adding a fair number of new Redirect rules to my .htaccess file. What you will find is that a lot of your old links can be ...


1

Before finding a definitive solution (I don't have it) you could always try and use Google for this. E.g. Login to Google Reader, click the Add button, add your friend's website there, Google will tell you that it has no feed and ask if you want Google to watch the page and create one for you. Then look at the "feed URL" there ...



Only top voted, non community-wiki answers of a minimum length are eligible