Search results

  1. Augmented

    Webservice Output

    Absolutely the former. Having something like a base64-encoded binary stream in the response is pretty nasty (I've had to deal with it before!). Better to keep the response as slim as possible, especially with something like SOAP where the payload tends to get pretty bloated. Ultimately it...
  2. Augmented

    Website fonts, can they be on a server?

    Have a look at Typekit: http://blog.typekit.com/2009/05/27/introducing-typekit/
  3. Augmented

    .htaccess help if you please...

    Have you turned it on and off again? ;) Seriously though, make sure you've got a RewriteEngine On at the top of your rules. Other than that, you might try a RewriteBase / depending on your hosting setup e.g. your docroot is on an alias, symlink or some such.
  4. Augmented

    Mod Rewrite Query

    To rewrite /pagename to /index.php?page=pagename: RewriteEngine On RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^(.+) - [PT,L] RewriteRule ^([^/]+)/? index.php?page=$1 [L] The set of Rewrite Conditions (RewriteCond) ensure that if a real...
  5. Augmented

    Mod Rewrite Query

    It's certainly possible, but you need to have some kind of mapping between which /pagename relates to which /index.php?pageid=x uri. Does this need to be dynamic or just for this one instance? Do you have a way to change index.php so that it can select based on 'pagename' rather than ID? For...
  6. Augmented

    Do you think that this "bespoke" design was made from a template?

    It is indexable, at least by Google, and has been for a while. However it's far from optimal indeed, and a regular HTML version would likely produce much much better results. Yeah, that template is pretty horrendous. Get your money back if it was offered as exclusive/bespoke.
  7. Augmented

    How do you begin learning javascript for web?

    For a non-programmer I highly Jeremy Keith's book "DOM Scripting: Web Design with JavaScript and the Document Object Model" - http://www.domscripting.com/book/ He's one of the most respected people in the industry on the topic of javascript. It'll give you a good, gentle introduction into...
  8. Augmented

    PHP don't parse PHP code from sql result

    You need to encode the code block when outputting in the page so PHP doesn't interpret it as PHP code, and the browser doesn't interpret it as HTML code (it'll consider <?php as the start of an HTML tag). So, $phpcode = '<?php echo 'hello world'; ?>'; echo htmlspecialchars($phpcode);
  9. Augmented

    Lots of hosting questions

    Automated backups of the complete system image at Slicehost are an optional $5/month IIRC (you can turn it on/off as you need). But since you have ssh access, you can just simply run your own scripts to backup files locally e.g. rsync. That's the idea - although all hosting companies probably...
  10. Augmented

    Lots of hosting questions

    Very unlikely you'll get that (and a decent service) for £100/year. A baseline of £150-£200 (US hosted) is much more realistic, assuming you only want a Linux distribution installed and nothing else. Typical extra costs you need to consider are: * cPanel/WHM licences * Microsoft licences for...
  11. Augmented

    Bon Iver

    You're most certainly right. For Emma, Forever Ago is an amazing record. Looking forward to seeing him at Green Man later this year.
  12. Augmented

    Image Gallery, javascript and xml?

    Any particular reason for the choice of XML? How about using a more lightweight format like JSON?
  13. Augmented

    PNG-24

    Yes, IE6 and below don't support alpha transparency, but there are many many workarounds to provide support e.g. http://labs.unitinteractive.com/unitpngfix.php or http://www.alistapart.com/stories/pngopacity/. All other [worthwhile] browsers do. IE7 can be a bit funny if you dynamically modify...
  14. Augmented

    Javascript syntax help

    Try: setInterval("check_change(" + newspost + " , " + timestamp + ");", 5000);
  15. Augmented

    Mysql PHP and foreign keys

    Are you using InnoDB for your DB, or MyISAM? Only InnoDB supports foreign keys properly i.e. with constraints and schema definitions.
  16. Augmented

    annoying white space issue

    CR = "Carriage Return" or \r LF = "Line Feed" or \n These are just the new-line characters and are perfectly fine. Windows uses \r\n, and nix uses \n. I'm not sure about configuring Notepad++.
  17. Augmented

    annoying white space issue

    Make sure your editor is using tabs instead of spaces for indentation when writing markup. Generally using spaces is much more preferable for programming code, but for markup it introduces a number of problems. Tabbed whitespace is fully collapsed by browsers when rendered, while spaces are...
  18. Augmented

    [PHP] Scraping webpages

    What is the output of: print_r(curl_getinfo($curl)); (Place it before your curl_close() line).
  19. Augmented

    How do you organise your music?

    I ensure my music is tagged according to Musicbrainz data (another Picard user here) and let the musicplayer do the legwork of filtering and figuring out organisation as and when I need it - whether I want to view it chronologically, alphabetically, by last.fm tag/genre I'm comfortable in the...
  20. Augmented

    Good UX info sites?

    Quite a wide-ranging topic - depends whether you're more into pure interface design, IA, accessibility etc. Some reading from my own blogroll: http://www.uie.com/brainsparks/ http://www.uxmag.com/ http://www.usabilitypost.com/ http://bokardo.com/
Back
Top Bottom