links, notes, news and (just sometimes) thoughts with an unmotivated presumtion of being useful for those in the software field 

Need php to encode special characters but not html tags

For Latin-1 you can escape characters easily with:

$html = preg_replace('/[\x80-\xFF]/e', '"&#x".dechex(ord("$0")).";"', $html);

For UTF-8 it's a bit more involving:

$html = preg_replace_callback("/(?!\w)\p{L}/u", "xmlent", $html);function xmlent($m) {    $str = mb_convert_encoding( $m[0] , "UCS-2BE", "UTF-8");    return "&#x" . bin2hex($str) . ";";}

Don't know about you, but I almost went mad trying to encode special chars but not html tags. Then, I found this great answer on Stackoverflow...

Filed under  //   php   web development  

Comments [0]

How to Create WordPress Posts in Themes/Plugins | Pro Blog Design

Media_httpcdnproblogd_fgcdg

Good tutorial about using Wordpress API to create a post outside the WP editor.

Filed under  //   blog   php   web development   wordpress  

Comments [0]

Display WordPress content outside your blog

The key to gaining access to the power of WordPress from an outside page lies in the wp-load.php file. This file loads the WordPress application and makes its API, and therefore your content, available for use. Once this file is included in a page on your site, you will be able to use any WordPress function just as if you were working in a WordPress template.

A quick tutorial about how to use the Wordpress magic being outside Wordpress.

Filed under  //   php   web development   wordpress  

Comments [0]

How I Use Robot Mode and Non-Digital Creativity to Accomplish More in the Day

I keep a master list of everything I need to do. As soon as I think of something that I need to do, or if I have a meeting and am assigned an action item, I add it to the master list. The list is divided into different categories, such as Make magazine, Boing Boing, Gweek, personal business, etc. I've used a lot of different list managers over time, and I find that Wunderlist serves my purposes very well. It works with my desktop computer and my smartphone, synchronizing between the two. It's important to have a
system to capture everything. (I learned that from David Allen's Getting Things Done, of course).

Mark Frauendfelder, founder of Boing Boing, endorse Wunderlist as a (desktop) task manager.

Filed under  //   productivity   project management  

Comments [0]

The League of Moveable Type

Media_httpwwwtheleagu_ihutn

Open source typography. Cool!

Filed under  //   fonts  

Comments [0]

SimpleXML: Creating a SimpleXMLElement Step By Step Tutorial - PHPEveryDay

PHP SimpleXML Step By Step Tutorial - Part 1: The SimpleXML extension is another xml parser available in PHP5. We ever talk about xml parser tips at here. SimpleXML make our job more easy. I takes a different approach to handling the tree. This extension has a single class type, three functions, and six class methods.

Read the rest of this post »

Filed under  //   php   web development  

Comments [0]

Icon Ambulance. Vic Gundotra about Steve Jobs

One Sunday morning, January 6th, 2008 I was attending religious services when my cell phone vibrated. As discreetly as possible, I checked the phone and noticed that my phone said "Caller ID unknown". I choose to ignore.

After services, as I was walking to my car with my family, I checked my cell phone messages. The message left was from Steve Jobs. "Vic, can you call me at home? I have something urgent to discuss" it said.

Before I even reached my car, I called Steve Jobs back. I was responsible for all mobile applications at Google, and in that role, had regular dealings with Steve. It was one of the perks of the job.

"Hey Steve - this is Vic", I said. "I'm sorry I didn't answer your call earlier. I was in religious services, and the caller ID said unknown, so I didn't pick up".

Steve laughed. He said, "Vic, unless the Caller ID said 'GOD', you should never pick up during services".

I laughed nervously. After all, while it was customary for Steve to call during the week upset about something, it was unusual for him to call me on Sunday and ask me to call his home. I wondered what was so important?

"So Vic, we have an urgent issue, one that I need addressed right away. I've already assigned someone from my team to help you, and I hope you can fix this tomorrow" said Steve.

"I've been looking at the Google logo on the iPhone and I'm not happy with the icon. The second O in Google doesn't have the right yellow gradient. It's just wrong and I'm going to have Greg fix it tomorrow. Is that okay with you?"

Of course this was okay with me. A few minutes later on that Sunday I received an email from Steve with the subject "Icon Ambulance". The email directed me to work with Greg Christie to fix the icon.

Since I was 11 years old and fell in love with an Apple II, I have dozens of stories to tell about Apple products. They have been a part of my life for decades. Even when I worked for 15 years for Bill Gates at Microsoft, I had a huge admiration for Steve and what Apple had produced.

But in the end, when I think about leadership, passion and attention to detail, I think back to the call I received from Steve Jobs on a Sunday morning in January. It was a lesson I'll never forget. CEOs should care about details. Even shades of yellow. On a Sunday.

To one of the greatest leaders I've ever met, my prayers and hopes are with you Steve.

-Vic

Filed under  //   project management  

Comments [0]

The 960 grid system explained

The grid system approach!

Filed under  //   css   web development  

Comments [0]

jQuery File Upload Demo

Source Code & Download

The jQuery File Upload project is on GitHub:

A great jquery plugin to upload files to server.

Filed under  //   javascript   web development  

Comments [0]

InfoGraphic – Facebook vs Google+

Media_httptechnobombs_vgggy

Anyone would share with me a Google + invite? :)

Filed under  //   facebook   google  

Comments [0]

Myspace Acquired, CEO Out: Email From Mike Jones To Employees

Myspace CEO Mike Jones just sent out this mass internal email and press release confirming the company’s sale to Specific Media earlier this morning. Kara Swisher is reporting that the sale was for $35 million.

From what I’m hearing it’s been a rocky morning at the social network, which was bought by Newscorp in 2005 for $580 million, as job cuts went deeper than expected. The most significant departure? CEO Mike Jones will be leaving the company and is currently on a two month transition plan.

Myspace has steadily lost influence and value as Facebook’s “one graph to rule them all” campaign grew to dominate the space. On a more hopeful note, I’m also hearing that several of the laid off employees have already received calls from recruiters representing a mix of Silicon Valley and Southern California companies.

From: Mike Jones
Sent: Wednesday, June 29, 2011 11:26 AM
To: Myspace All
Subject: IMPORTANT COMPANY NEWS
Importance: High

Myspacers,

Today, we are announcing that Myspace will be acquired by Specific Media, one of the world’s leading online media and advertising platforms. Over the next few days you will be hearing from the team at Specific, including their CEO, Tim Vanderhook, regarding their exciting plans for Myspace and how it fits in with the overall vision of their company.

In conjunction with the deal, we are conducting a series of restructuring initiatives, including a significant reduction in our workforce.  I will assist Specific with the transition over the next two months before departing my role as Myspace CEO.

I wanted to take a minute to thank you all for the incredible experience it has been to lead this company and to work closely with all of you over the past several years. While I regret we won’t be working together at Myspace any longer, I am very proud of the work we have done here and believe we have performed with excellence – even under extremely difficult circumstances.

My time here at Myspace represents the most engaging and challenging time of my professional career. I have found our team to be comprised of the best people I have come across in our industry.

You can read the press release below.  Once again, thank you for all of your hard work and dedication.

Thanks,

-M

SPECIFIC MEDIA ACQUIRES MYSPACE FROM NEWS CORPORATION

Los Angeles, Calif. — June 29, 2011 – Specific Media, a digital media company, today announced it has acquired Myspace from News Corporation. As part of the agreement, News Corporation will take a minority equity stake in Specific Media. Additional terms of the agreement are confidential and will not be disclosed.

“Myspace is a recognized leader that has pioneered the social media space. The company has transformed the ways in which audiences discover, consume and engage with content online,” said Tim Vanderhook, Specific Media CEO. “There are many synergies between our companies as we are both focused on enhancing digital media experiences by fueling connections with relevance and interest. We look forward to combining our platforms to drive the next generation of digital innovation.”

Specific Media is an innovative global interactive media company that enables advertisers to connect with consumers in meaningful, impactful and relevant ways. Founded in 1999 by brothers Tim, Chris and Russell Vanderhook, Specific Media is currently headquartered in Irvine, CA and operates offices around the world.

About Myspace

Myspace, Inc. is a leading social entertainment destination powered by the passions of fans. Aimed at a Gen Y audience, Myspace drives social interaction by providing a highly personalized experience around entertainment and connecting people to the music, celebrities, TV, movies, and games that they love. These entertainment experiences are available through multiple platforms, including online, mobile devices, and offline events.

Myspace is also the home of Myspace Music, which offers an ever-growing catalogue of freely streamable audio and video content to users and provides major, independent, and unsigned artists alike with the tools to reach new audiences. The company is headquartered in Beverly Hills, CA.  http://www.myspace.com/pressroom/

About Specific Media

Specific Media is a digital media company driving viewership for content owners, engagement for brands and relevance for consumers. With capabilities spanning original programming, cross-channel distribution and addressable advertising, the company connects audiences, content and brands, adding meaning to each touch-point. As people discover new ways to consume content, Specific Media creates impactful media experiences no matter where they are.

www.specificmedia.com.

MySpace image

Website: myspace.com
Location:Beverly Hills, California, United States
Founded: August 1, 2003
Acquired: June 29, 2011 by Specific Media for $35M

MySpace is one of the world’s largest social networks, with about 125 million users. Originally inspired by Friendster, MySpace quickly grew to become the world’s largest social network, before… Learn More

Information provided by CrunchBase

MySpace has been sold for $35 million (it was acquired by Murdoch in 2005 for $580 million!) What a sign of the times...

Filed under  //   miscellanea  

Comments [0]

RootMusic - BandPages on Facebook!

Media_httpaakstaticro_hhese

Another tool to enhance Facebook pages, dedicated to artists and band!

Filed under  //   facebook   web applications  

Comments [0]

ShortStack | Build Free Custom Facebook Tabs, Pages & Layouts for Business w/o FBML

Media_httpwwwshortsta_uedhb

A good app to build better Facebook pages.

Filed under  //   facebook   web applications  

Comments [0]

Best User Interface Design Resources

Media_httpdzineblogco_ysgej

40 great sites about user interface - both as example and resource.

Filed under  //   usability   web applications  

Comments [0]

How To Use Facebook To Enchant Your Customers

How To Use Facebook To Enchant Your Customers

May 11, 2011

The process of creating a deep, delightful, mutually-beneficial and voluntary relationship with customers is called enchanting them. From Dale Carnegie to Robert Cialdini, people have explained how to make this happen, and now there’s another tool for you to use. They're called simply Facebook Pages (often called "fan pages"), and there’s never been an online tool as powerful for enchanting customers.

1. Be likable

Have you ever been enchanted by someone you didn’t like? Probably not. Thus, the starting point of using Facebook fan pages is to personify likability. This means every update, comment, picture, and video must be positive and uplifting—they should be the equivalent of a beaming smile. The pressure is on: you cannot have bad days on Facebook. If you want to wage war or argue with someone, do it privately with messages, e-mail  or a phone call, but not in a public place like your Wall.

2. Be trustworthy

People can like someone, but still not trust them. Think of, for example, Hollywood celebrities. At an extreme, you could like Charlie Sheen, but not trust him. The way to gain trustworthiness on Facebook is to accept that the burden is on you to trust others before they trust you. You should think like a baker, not like an eater. Eaters see the world as a zero-sum game: if others have a bigger slice of the pie, then they get a smaller piece. Bakers, on the other hand, make bigger or more pies.

3. Create a great cause

Trust someone who’s tried to enchant people with great stuff and less-than-great stuff; it’s much easier to enchant people with a great product, service, idea or organization than with crap. A great cause is Deep, Intelligent, Complete, Empowering, and Elegant (DICEE). Deep = lots of features and power; Intelligent = understanding and solving peoples’ problems; Complete = a total solution including documentation, revisions and support; Empowering = making people more creative, productive and efficient; Elegant = a beautiful and intuitive user interface.

4. Post pictures

On Twitter, my contributors and I focus on providing links to informative articles that people might not have seen. The primary value of following @GuyKawasaki is filtration and curation. At first, I did the same thing on Facebook, but there were few comments and “likes” for these updates. My theory is that Twitter is a link economy, and Facebook is not. Now, I post—and encourage fans to post—pictures. But pictures of what? Pictures of products, employees, customers and your office or building are obvious, but I would extend the range to whatever your customers might find interesting. For example, here’s a picture of me and some Apple booty.

5. Optimize your thumbnails

You may be wondering: what should a business take pictures of? One of the consequences of the picture orientation of Facebook is that a picture the size of a postage stamp is crucial—it has to entice people into clicking to expand it. This means that you need to crop your photos and increase the level of brightness, exposure and contrast. Most of the time, you really don’t need to see people from head to toe, so get closer to your subjects and snap pictures from the chest up. Click to learn more about good portrait photos.

6. Answer every direct message

Speaking of a lot of work, you also need to answer all the direct messages to your account. This has nothing to do with your fan page per se, but it’s an integral part of enchanting people on Facebook. This is the hardest of my recommendations to fulfill because there’s isn’t an e-mail client like Outlook or Mail for Facebook to make responding efficient. I admit that I fail to heed my own recommendation here...

7. ABC: always be commenting

The ideal ratio of peoples’ comments to your responses is one-to-one. The exception is when there are many comments that are generic such as “Nice!” “Cool!” or “Love it!” Each of these doesn’t require a response, but when comments are more individualistic, jump in and comment back. People want to know that you’re reading your Wall and reacting to comments, so the three keys of commenting are: fast (within 24 hours); many (respond to everyone); and often (make commenting core to your Facebook activity). This is a lot of work, but enchanting people is a lot of work—otherwise more people and companies would be enchanting.

8. Show your gratitude

One type of comment that you should respond to every time is when a customer buys your product, uses your service, or does something for you. This goes back to likability: likable people are grateful for business and support. It may seem pedantic to you to keep saying thanks, but it’s not to the people you’re thanking. You may have thanked everyone else, but the person you missed or skipped will think you’re an ingrate. Anyway, you should be so lucky that showing your gratitude is a burden.

9. Use a “reveal tab” promotion 

The most effective thing that I’ve done to increase the number of fans was to run a “reveal tab” promotion. This means that after people “liked” the Enchantment fan page, they were presented with a new landing tab. This landing tab provided a way to download the PDF of my first book, The Macintosh Way (give it a try by clicking). Companies use a reveal-tab promotion to provide digital content, exclusive offers and discounts. It’s a way to reward people for becoming fans and to bring them into your community.

10. Repeat the proven stuff

When you hit the jackpot with a post (as you can see by the number of “likes” and comments), don’t be afraid to run it again. Yes, all the “social-media experts” will tell you that this is wrong and that doing so will upset your fans—leading to mass desertion from your fan page. But ask yourself this question: Do you read each and every update of each and every person or company that you “like” on Facebook? If so, you’re on Facebook too much. When you have a clear winner, run it again and see what happens.

One last power tip: sign out of your Facebook account and view your fan page from an account that isn’t an administrator. What you see as an administrator is not exactly what everyone else sees. You need to experience your fan page as most people do.

If you found this advice useful, you should enter American Express OPEN’s “Big Break for Small Business” contest. Five winners will receive $20,000 and a two-day trip to Facebook’s headquarters in Palo Alto, California for one-on-one consultations on how to improve their presence on Facebook. I am a judge in the contest and will be looking for small businesses that can optimize their social media presence. Learn more about the Big Break contest, and you soon may be on your way to Palo Alto. And if you want to become a world-class enchanter, please check out my book: Enchantment.

A few tips to follow when using Facebook for marketing.

Filed under  //   blog   facebook  

Comments [0]

Import/Export data between Excel and Microsoft Project

Media_httpitechrepubl_uhgmm

I'm using Excel to manage projects, but MS Projects has some unique features that can be very useful. These tips can save a lot of time!

Filed under  //   Microsoft   project management  

Comments [0]

Real-Life MS Project: Dependencies and Leveling

Microsoft Project is a widely-used scheduling tool. Its quirks and complications are a huge drain of time on the Project Management community. This series will go beyond tips and tricks to discuss solutions to real-life problems, to save time for its many users.

Most Project Managers have learned a specific method to build dependencies between tasks and to build a resource-leveled schedule in MS Project. It is a relief to find something that works. Fear of upsetting a working schedule is great. We stick with what works even while cursing its shortcomings. Project Managers have choices, though, and choosing the best method for the project at hand is the best way to save time and reduce frustration.

A great article about three (plus one) different approaches to Microsoft Project.

Filed under  //   Microsoft   project management  

Comments [0]

Taskjuggler - The Open Source Project Management Software - Home

Media_httpwwwtaskjugg_pgika

Desktop PM software, open source, Linux/Unix oriented (but it should run on Windows too). It seems promising (resource leveling is one of its feature), but being written in Ruby, you need the Ruby environment on your machine.

Filed under  //   project management  

Comments [0]

A Guide to WordPress SEO with Relevant Plugins | Onextrapixel - Showcasing Web Treats Without A Hitch

When it comes to WordPress and search engine optimization, the content management system does a pretty good job at being prepared out of the box, but with the use of some very useful plugins, as well as some hacks and some good blogging techniques, you could get your blog's posts and pages higher in the search engines thus attracting more potential visitors.

A definitive (?) guide to WP SEO optimization.

Filed under  //   wordpress  

Comments [0]

Billing System - SnapBill

Media_httpd3y0ercxvps_vcumk

Another on line invoicing app. Looks promising.

Filed under  //   web applications  

Comments [0]