personal ad - schema markup - markup

We have a website where people can create personal ads in order to find language-partners.
Does anyone have an idea on how to markup these ads using schema.org?
By now we only have rel=author on each author-name of an ad. But it would be good if we could also markup the following elements of the ads:
the ad itself (the div that wraps the ad)
author-image
authoer location/homelocation
creation date
mothertongue
wanted/learn language
description
Thanks in advance for your help!

Uhm, not exactly an expert here, but I think you should wrap all that in a http://schema.org/Person and use the already existing tags for that, assuming the ad links to a user's homepage you can just add the link as a url for the person.
Assuming a div contains all that you just define it as:
<div itemprop="author" itemscope itemtype="http://schema.org/Person">
.... all the properties ....
</div>
If I'm not mistaken all the described properties are already defined in Person, in fact you can find most of them in the example at the bottom of the page, just take a look at http://schema.org/Person
Really can't give you any more information without an already existing markup sample.

Related

Google Analytics Event Image Tag Creation

Wondering if someone can help me...
I'm working with an application system that only accepts simple img tags for tracking, they won't take JS or GTM at all.
Is it possible to create these for events, so I can create the necessary goals within Google Analytics?
I have the event like so:
ga('send','event', 'ATS','Application', 'Application Start',0,{'nonInteration':false});
But obviously I need the img part and the UA-ID etc. I'm not great with this stuff and all the documentation I can find relates to email sends, which isn't applicable here.
Also, it's for a page load.
Many thanks for any help!
Tom
yes, you can build up your simple image tag using Measurement Protocol. You can use handy Hit builder tool to populate a necessary event url
For those reading in the future... This is what ended up working:
<img style = "width: 1%; ; "src="https://www.google-analytics.com/collect?v=1&t=event&tid=UA-XXXXXXXX-1&cid=555&ec=ATS&ea=Application&el=Application%20Start&ni=0"alt=""height="1"/>
I used the hit builder mentioned above: https://ga-dev-tools.appspot.com/hit-builder/ (thanks Дмитро Булах) to determine which parameters I needed and added the collect query to tell them to be sent to GA.
I put the cid as 555 to anonymise it (don't know if that was a good idea), then put the whole thing inside an img tag I lifted from somewhere else.
Cheers,
Tom

How to track Mailchimp links from merge tags

I've just created a custom template to be used on Mailchimp.
Some links come from custom merge tags and point to the website related to Mailchimp. The problem is that those links from merge tags are not being tracked by Mailchimp.
I found this and of course tried but it didn't work:
how can i tracking click in custom html template mailchimp?
As an example, one of my links looks like this:
<p mc:edit="product1_url">
<a class="product-button" href="http://mywebsite.com*|PRODURL1|*" target="_blank">BUY NOW</a>
</p>
The PRODURL1 merge tag is type text and contains a path to a product, so the resulting url looks like http://mywebsite.com/product/123456 and it works if a click it on the sent email.
Any experience or direction?
Thanks!!
Well, after trying and trying and trying more I've found out why it wasn't working.
First part of the links MUST include the /, the second part (contained on the merge tag) MUST NOT include the /).
So now with this configuration Mailchimp tracks the links:
<a class="product-button" href="http://mywebsite.com/*|PRODURL1|*" target="_blank">BUY NOW</a>
Of course now PRODURL1 = "products/123456". So the same url is rendered, but this time tracked by Mailchimp.

Joomla 3 Content Restriction

I have a single article and I want to display a portion of the content to the Registered user group only and the other portion to a Custom user group only.
I'm sure I read an article sometimes int he past year about doing this without a plugin (Though I may be mis-remembering the article)
Is this possible without an extension using something along these lines?
{content group=registered}
You can create a category (with limited access) say Registered. Create another category with restricted access say Paid_Access.
Now for every article create two articles - one in Registered category containing only Intro text and another full article in Paid_Access category.
Create Access Group and Access levels with same name
The hierarchy of the access levels will be as follows:
Public
Registered
Paid_Access
Set the Registered category to access level Registered. Set the Paid_Access category to access level Paid_Access
By default, on Joomla registration every user will be in Registered access level and will be able to only view article intro.
When user make some payment, move the user to Paid_Access access level. Users in this level can view the complete article.
Creating two articles for every new article may be cumbersome, to reduce this pain, you can create a custom form using ChronoForms. This form should have two text areas for the article - one would be for Intro text and another full article (without Intro text). The form while saving, will itself create two articles - one in Registered and another in Paid_Access. Thus your pain of creating two articles will be gone!
It is not possible without a plugin.
Reason : When Joomla is preparing content then there must be a function(code snipet) that detects the Text enclosed in {content} tags and decide what to do with this text and accordingly edits the content.
I have developed a Content Plugin, This will helps you https://github.com/jitendra-khatri/jcontenthider to setup your scenario.
You could do this with CSS if your template adds the access level as a class on the body or html (mine do). Though anyone with firebug or a code inspector could unhide content if they thought to look at the source.
<body class="registered">
// other code up to article content
<div id="articleContent">
// this is now in your article
<div class="hidefrompaid">
// content for registered users
</div>
<div class="hidefromregistered">
// content for paid users
</div>
</div>
...
Then your css would be:
body.registered .hidefromregistered {
display:none;
}
body.paid .hidefrompaid {
display:none;
}
Or if you really want to not show it you could use jQuery to delete the text the user should not see using those same css classed wrappers around the text.
jQuery('body.registered').find('.hidefromregistered').remove();
jQuery('body.paid').find('.hidefrompaid').remove();
I ended up using the jContentHider plugin. While I still had do some work arounds, I got it working the way I want to.
For others interested:
jContentHider on GitHub

SEO with keywords for a website based on images?

I have a website with newspapers frontpages so pages contain only big images and no text (neither description, because images change daily).
What's the best way to insert context keywords in the pages?
Is correct insert in body only keywords without link?
if you can change image names put keywords in those & also use related words, synonyms, plural / singular
also add alt & title attributes
Even though your pages do not have any content (only images), you still can provide proper page descriptions which will be used by Google (and other search engines).
A couple of handy tips:
Create unique, accurate page titles using <title> tag placed within the <head> tag.
Please bear in mind that Google does not recommend putting keywords into the title tag. So it is very good practice to make sure that your title effectively communicates the topic of the page's content.
Use the description meta tag (<meta name="description" content="">) to gives any search engine a summary of what the page is about. It is very good practice to use unique descriptions for each page.
Use the keywords meta tag (<meta name="keywords" content="">) to give page related keywords.
Also, as far as images are concerned, I would recommend using proper use of alt and title attributes providing description of your image content. Image names can sometimes be composed of some identifiers which are meaningless for customers.
Please have a look at Matt Cutts Blog page: Gadgets, Google, and SEO where Matt describes in details importance of correct informations in alt and title attributes of an image tag.

(sharp) # sign in query string and SEO

I have a site Index.html and there is a categories menu generated from database. Menu consists of HTML anchors, but href attribute is always something like "Index.html#cat=xyz" because content of each category is generated through AJAX call.
<br />
<br />
<br />
From the AJAX side everything works, but I want to ask if for example Google or other search engine will index these links which contains # (sharp) sign. Thanks for answers.
You're asking the wrong question. If you want your links to be indexed, make them obvious to a crawler about the content. Multiple links to the same page won't help your SEO efforts. Consider creating a separate page for "contacts" "investor information" "careers" (or whatever your categories are) and publishing them. Then your link becomes
careers
etc. When a human sees this link (your actual end target) he'll be able to make a better choice whether or not it's the "right" result.
using it like that will not work good for search engins and for users not have javascript enabled.
you need to make it lie facebook url redirect with seo friendly
you will need to use jQuery Hash url
Regards
Use ajax and when the user click on the link use the attribute - onclick="LoadHref('cat','1');return false;"

Resources