Tags 2 Meta Generator v0.1

This item was filled under [ Tags 2 Meta Generator ]

An extensive WordPress plug-in that generates META tags automatically for your posts! Let it be your post or home page, this little plug-in does it job automatically.

The plug-in works in an intelligent manner, META description is generated on the basis of page or post name respectively. Though when you are composing a new post, all post tags are automatically used as META keywords. However, in case of your pages (e.g. Home, About Me etc.), the plug-in compiles META keywords by putting all your category names, giving user a better advantage on search engines and specially in getting more relative Adsense Ads on their blogs!

Tags 2 Meta Generator links:

For any queries or suggestions, feel free to drop a comment!

Tags 2 Meta Generator v0.1: Installation Notes

This item was filled under [ Tags 2 Meta Generator ]

1. Upload “em-tags2meta.php” to the /wp-content/plugins/ directory
2. Activate the plugin through the ‘Plugins’ menu in WordPress

You’re all ready to go!

Tags 2 Meta Generator v0.1: Frequently Asked Questions

This item was filled under [ Tags 2 Meta Generator ]

Q. I just updated my post tags; will my META tags be updated automatically?
A. Yes, that’s the beauty of this plug-in!

Q. What if my post has no tags?
A. In such case, no META tag for “keywords” will be generated. Only META tag for description will be generated on that page.

Q. WordPress does not let you enter tags on pages, what will happen now?
A. Not a problem! The plug-in takes all your category names and puts it in META keywords.

Q. Does this plug-in require any management after it’s installed?
A. Everything is done automatically. You just have to install it and continue blogging the way you do!

Tuning Stored Procedures

This item was filled under [ SQL Server ]

Here are few tips to tune up stored procedures in SQL Server. I gathered these after doing some search on Google:

  • Include the ‘SET NOCOUNT ON‘ statement to stop the message indicating the number of rows affected (Reduces network traffic)
  • Break down the stored procedure in parts and call them from 1, esp. if you know that few of them won’t require re-compilation
  • Add ‘WITH RECOMPILE‘ to CREATE PROCEDURE statement if query varies each time it is run (Prevents reusing the execution plan. SQL Server does not cache a plan for this procedure)
  • All objects that are called within the same stored procedure should be referred to in the format of object_owner.object_name (A small performance boost, since SQL Server performs name resolution on the objects)
  • Use the new ANSI JOIN syntax instead of the old style joins (The new join syntax has a slight performance advantage over the old way of using the WHERE clause for a join)
  • Minimize the number of table lookups especially if there are sub-query SELECTs or multicolumn UPDATEs

about ‘Em’

This item was filled under [ Uncategorized ]

Hmm, I’ve finally setup a page ‘about Em’ – yes, that’s about me! It’s a 1 page portfolio that covers my blogs, startups and a little about me. You can view it at: www.axdimensions.com

Executing multiple INSERT in a single query

This item was filled under [ SQL Server ]

In SQL Server 2000, you can insert multiple records by using a single INSERT statement. It helps to boost performance a little and the task gets done in a single query.

Sample code:


INSERT INTO MyTable  (Col1, Col2)
SELECT  'First', 1
UNION ALL
SELECT  'Second', 2
UNION ALL
SELECT  'Third', 3
UNION ALL
SELECT  'Fourth', 4
UNION ALL
SELECT  'Fifth', 5
GO

Encrypting Stored Procedures in SQL Server

This item was filled under [ SQL Server ]

Often developers require hiding the stored procedures from end users. In such case, developers can perform a one way encryption using the WITH ENCRYPTION clause. Once the definition of the stored procedure is encrypted, it cannot be decrypted or viewed by anyone.

Sample Code:


CREATE PROCEDURE [SP_Name]
WITH ENCRYPTION
AS

SELECT
[CustomerID], [CompanyName]
FROM
[Northwind].[dbo].[Customers]

If your stored procedure has some parameters, you can simply write ‘WITH ENCRYPTION’ after the parameters:


CREATE PROCEDURE [SP_with_Parameters]

@Customer VARCHAR(25),
@CustomerID INT

WITH ENCRYPTION
AS

/* Rest of the SP here.. */

Now when the user will attempt to view the stored procedure, an error will occur:

Error 20585: [SQL-DMO] Encrypted object is not transferable, and script can not be generated.

Does your Adsense revenue depend upon number of clicks?

This item was filled under [ SEO/Adsense ]

Last week I came across a post on the ‘Adsense Blog’ – and it cleared up my confusion regarding Adsense earning. Google Adsense program is wiser than a layman thinks. You start earning more when you start getting healthy clicks! Quoting from the Adsense Blog:

If your website performs well for advertisers, there may be increased competition among them to fill your ad spaces. This means we’d have a wider variety of possible ads to display, so the ads you see on your site may be more relevant to your site content and your users’ interests. This may lead to more clicks from your users, more placement-targeted campaigns geared towards your site, and increased advertiser bids. Overall, you’re likely to earn more revenue with your site if advertisers are generating conversions and receiving quality leads from your site.

On the other hand, if your website performs poorly for advertisers, they may be less inclined to display on your site. This means that the ads our system displays on your site may not be as relevant to your site content and your users’ interests, leading to fewer clicks and decreased advertiser bids. As a result, you’re likely to earn less revenue with your site if advertisers are performing poorly.

For more details, click here.

Google Chrome: Offline Installation

This item was filled under [ Uncategorized ]

Unable to download the browser? Get the full setup from MediaFire. Click on the filename below to proceed!

chrome_installer.exe (7.35 MB)

Enjoy!

SQL Server: DATEDIFF limitations

This item was filled under [ SQL Server ]

DATEDIFF produces an error if the result is out of range for integer values. For milliseconds, the maximum number is 24 days, 20 hours, 31 minutes and 23.647 seconds. For seconds, the maximum number is 68 years.

Source: Transact-SQL Reference

Page 1 of 612345»...Last »