Bacon Ipsum at Best Buy

https://twitter.com/3ric5tanley/status/253526376626388992

Posted in Blog | Tagged | Leave a comment

Nailed it

@dsymons is correct.

https://twitter.com/dsymons/status/246685662038863872

Posted in Blog | Leave a comment

Odd behavior with Firefox

I saw a Tweet come across the wire last night and have been digging into the issue:

After digging into it a bit more, it seems to be an issue only with Firefox and where you start copying text.  If we use the mouse and start selecting text right at the first letter (where the red dot is), it works fine.  You’ll see in View Selection Source that only the bacon ipsum content is selected and it can be pasted into dabblet without any issues.

If we put the mouse a little bit above the first bacon ipsum text and start selecting, some of the HTML is getting selected as well.

You can replicate the results in this dabblet and here’s more info via @wrumsby.  Going to put this out on Twitter, hopefully the Mozilla team will see it and weigh in.

Posted in Blog | Tagged | Leave a comment

Bacon SMS

I was testing some e-mail to text message code and knew exactly what I needed to use.

image

Posted in Blog | 1 Comment

Flight 12 to Meatville, now boarding

Posted in Blog | Tagged | Leave a comment

NSFB

Bravo to Fifty Shades Generator for bringing a new level to filler text.  Or maybe that’s “fill her” text.  Either way, it’s mostly NSFW, and definitely Not Safe For Bacon.

Posted in Blog | Leave a comment

API and jQuery Plugin updates

I’ve added support to the JSON API so you can generate one or more sentences of bacon ipsum rather than always generating paragraphs of text.   Just pass ‘sentences=x’ as a parameter.

For example: http://baconipsum.com/api/?type=meat-and-filler&sentences=1

The jQuery plugin has also been updated to support sentences.

All the source code goodness has also been posted to GitHub if you want to dig into it a little more.  Enjoy!

Posted in Blog | Tagged , , | Leave a comment

Git some bacon

Want to implement your own ‘insert-something-witty-here’ ipsum generator?  Then head on over to our GitHub repository and take a look at the code that runs baconipsum.com.  The BaconIpsumGenerator class is straight PHP code that can easily be modified to work as you see fit.  I’ll be refactoring this code a bit since the Make_Some_Meaty_Filler method is wrapping stuff in HTML and it really should return an array of paragraphs and sentences so the API code can handle it better.  It’s on my to-do list.

I also spent some time this weekend writing proper WordPress plugins for the site.  Previously, the home page’s form was hacked into the WP theme, and the API was just a standalone directory with a PHP page.  Now they’re both plugins and run based on WP actions & shortcodes.  It really shouldn’t affect what you see on the site at all, but it makes me feel warm & fuzzy to have it coded properly now.

Enjoy!

Posted in Blog | Tagged , | Leave a comment

Upgrades

I’m working on some site upgrades this weekend, specifically re-coding the bacon ipsum generator and API as a proper WordPress plugin so it can go on GitHub.  There may be some hiccups when we post the updated site, just an FYI.

Posted in Blog | Tagged | Leave a comment

Secure Bacon

I’m kind of a fan of using SSL whenever possible, so along those lines, you can now access Bacon Ipsum (and our API) via HTTPS.

http://baconipsum.com/

Posted in Blog | Leave a comment