Can I Use Multiple ItemProps in a Span Tag for schema.org Rich Snippets?

The usual HTML way would be to use one attribute and separate several values with space characters. Looking into the Microdata specification, you’ll notice that this is the case for the itemprop attribute, too: The itemprop attribute, if specified, must have a value that is an unordered set of unique space-separated tokens […] So this …

Read more

How to force telegram to update the link preview?

Go to @webpagebot and send the link (up to 10) you want to update. Automatically will scan your site and generate the new image thumbnail, site name and description. Remember to have og prefix in your html tag as: <html prefix=”og: http://ogp.me/ns#”> or telegram bot will not update the graph cache. via telegramgeeks

Is there a standardized (meta?) tag for the date of a website?

There have been a few WHATWG Meta Extension proposals, referenced in the HTML5 specification which could cater for the creation date of a page. “Accepted” Proposals dcterms.available – The date the resource became available. dcterms.created – The creation date of the resource. dcterms.dateAccepted – The date the resource was accepted. dcterms.submitted – The date the …

Read more

Can an “SEO Friendly” url contain a unique ID?

Be careful with allowing a page to render using the same method as Stack overflow. http://stackoverflow.com/questions/820493/random-text-can-cause-problems Black hats can this to cause duplicate content penalty for long tail competitors (trust me). Here are two things you can do to protect yourself from this. HTTP 301 redirect any inbound display url that matches your ID but …

Read more

Java code/library for generating slugs (for use in pretty URLs)

Normalize your string using canonical decomposition: private static final Pattern NONLATIN = Pattern.compile(“[^\\w-]”); private static final Pattern WHITESPACE = Pattern.compile(“[\\s]”); public static String toSlug(String input) { String nowhitespace = WHITESPACE.matcher(input).replaceAll(“-“); String normalized = Normalizer.normalize(nowhitespace, Form.NFD); String slug = NONLATIN.matcher(normalized).replaceAll(“”); return slug.toLowerCase(Locale.ENGLISH); } This is still a fairly naive process, though. It isn’t going to do …

Read more