using wordpress CLI to post to wordpress

2011-03-24 1 min read bash Wordpress
There is a very nice post here: How to post content to a WordPress blog from the command line I tried this in Fedora 14 and here is the way to get this working in Fedora 1 2 3 4 5 <td> <div class="text codecolorer"> su -<br /> <br /> cpan<br /> <br /> install WordPress::CLI WordPress::Post </div> </td> </tr> Now, once the above completes make sure that the path /usr/local/bin is in you path. Continue reading

Adding a sub-menu in the wordpress admin menu :)

2010-07-29 2 min read Wordpress
For the impatient ones, first the code: (in wp-admin folder, open the file menu.php) and locate the code: $submenu[&#8217;edit.php&#8217;][10] = array( _x(&#8217;Add New&#8217;, &#8217;post&#8217;), &#8217;edit_posts&#8217;, &#8217;post-new.php&#8217; ); and add the below: $submenu[&#8217;edit.php&#8217;][7] = array( _x(&#8217;Pending&#8217;, &#8217;post&#8217;), &#8217;edit_posts&#8217;, &#8217;edit.php?post_status=pending&post_type=post&#8217; ); And now the explanation and why do you need this 🙂 Problem: There is no direct mechanism to access the pending posts in WP admin. I generally post through email and mark them as pending. Continue reading

Unixmen - Tips to reduce memory usage on Firefox

2010-07-14 1 min read Firefox Uncategorized
A nice aritcle on reducing the memory usage of firefox on <a class="zem_slink" title="Linux" rel="wikipedia" href="http://en.wikipedia.org/wiki/Linux">Linux. There are some things in life everyone is looking for and no one ever finds and there are other things that people keep finding and re-finding and inventing and re-inventing. Reducing memory usage for <a class="zem_slink" title="Firefox" rel="homepage" href="http://www.mozilla.com/firefox/">Firefox and speeding it up is one such thing. So, here is another story to reduce the memory usage of firefox. Continue reading

wordpress blog stats monitoring from remote using curl and bash and send it in mail.

2010-06-25 3 min read bash Fedora Linux
Here&#8217;s something that I had been planning to do for sometime now. I have my blog on wordpress and have Statpress plugin installed. The plugin does give me a good idea of the visits to my site. Now, I have to keep logging in every now and then to check the stats. Also since I did not want to spend some more amount 🙂 so I do not have the shell access to the server, too bad 🙁 Continue reading

Stats for blog.amit-agarwal.co.in

2010-06-09 1 min read Uncategorized
Last couple of weeks/months has been a very good time for my blog. The subscribers have increased, the visits have increased. My blog is visited more and more from the search results. My alexa ranking has come down drastically. Thanks to all my readers, subscribers and followers. Here are some of the stats from the last 2 weeks: <a href="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/06/WordPress_1276058887078.jpg"><img class="size-medium wp-image-1676" title="Stats for blog.amit-agarwal.co.in" src="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/WordPress_1276058887078-300x219.jpg" alt="Stats for blog.amit-agarwal.co.in" width="300" height="219" /> Continue reading

10 Wordpress Traffic Builder Plugins That Work

2010-05-26 2 min read Uncategorized
This article covers several useful <a class="zem_slink freebase/en/wordpress" title="WordPress" rel="homepage" href="http://wordpress.org">WordPress traffic builder <a class="zem_slink freebase/en/plugin" title="Plug-in (computing)" rel="wikipedia" href="http://en.wikipedia.org/wiki/Plug-in_%28computing%29">plugins. The most important aspect of owning a <a class="zem_slink freebase/en/website" title="Website" rel="wikipedia" href="http://en.wikipedia.org/wiki/Website">website is the amount of visitors you receive. I’m referring to your website’s traffic, which can be very hard to generate in the beginning stages. It’s essential that you <a href="http://www.makeuseof.com/tag/6-websites-to-track-a-websites-traffic/">track your website’s traffic to see where you’re at. Continue reading

Transfer all the google feed URLs to rss2email.

2010-05-09 1 min read Fedora Linux
Next step in restoring my settings was to get the working rules and all the blogs into rss2email. I have subscribed to more than 150 blogs. So, adding all of them manually was difficult. For a time like this, I subscribe to all the blogs using google reader and then add them to rss2email. So I had quickly exported the google feeds list and then had to find a way to extract the URLs for the blog to the rss2email. Continue reading
Older posts