XPath - visited or unvisited links? - xpath

I keep track of new pages (only new, not updates to existing pages) on a site using a google search, something like https://www.google.com/search?q=site:stackexchange.com&num=100&tbs=qdr:m
I then click on all links that are unvisited (blue) to make them visited (purple). This way it is easy to see when a new link appears in the list.
Now I would like to automate part (using Wachete or similar service that can check the search result page once a day or so) of this process and for this I need to detect if there are links on the page with the search results that are unvisited.
Is that possible using Xpaths?

This has been disabled in browsers for security reasons.
Source: Mozilla Foundation Blog.
Chrome/FF don't support $("a:visited")

Related

Change image next to Website in Google search results

Good morning,
a customer of ours asked us if it was possible to change the image that Google shows next to his site in Google search results.
After several searches, we tried using different techniques all followed by re-indexing the page in order to instantly see the results.
We tried using structured data (both with ld+json and using microdata) and also of the attributes "og:image" and "og:title" in the "meta" tags, but none of these tests changed the image displayed on the right side next to the site in Google results.
We expected that with one of these methods would have changed the image, but nothing happened
Therefore, we wondered whether it was possible to change that image or whether Google chose the best image based on its search parameters.
Thank you for your valuable help,
Best regards

JOOMLA Read Private Message in URL Bug

I am building a new website in Joomla 3 and here is some really weird behavior i just stumbled over…
I get a wrong URL in Menu Items and read more links, saying, e.g
website.de/weOffer/drinks/Read%20Private%20Message/beer.
I would give you a real URL, but the project is still under development and classified.
The /Read%20Private%20Message/ part in the URL obviously does not belong there and gets inserted by joomla by default. The result of course is fatal. Not only the menu items aren't working, the read more links aren't either, all leading to 404 errors !
To go into more detail, here is what i have set up and what i have found out so far.
I have made a category blog, where articles are listed, each with a read more link in it, which works as expected.
Now each full text article should have its own slideshow and a couple of other modules, like a facts box in it.
Thats why, the article itself must show up as a menu item as well, so in the module manager i can select, that a specific slideshow module is used in this specific article only.
Therefore i have created menu items with the type of single article that links to the defined Article.
The main menu represents the page tree, each category blog has links to single articles as children. Some cat blog have cat blogs as children and then articles.
This setup works as expected, as long as i don't set the article menu item as a child of the category blog of the category the article itself belongs to.
Example:
MENU =
we offer(catblog) -> drinks(catblog) -> beer(singlearticle)
ARTICLEMANAGER
beer(category: drinks)
RESULT: wrong URL as above.
I can fix the error, by using rebuild in the menu manager, but thats only half way done. The menu URL is getting fixed, but than i have to go into the article itself, remove the read more and insert it back again, because the read private message doesnt get removed, even when i clear my cache. When i am done re-saving the readmore link, everything works like normal, until i save the article menu item the next time. Read Private Message bug is back again, up for another round.
I am a SuperUser, so i suspect i have all rights possible in joomla...
This must have something to do with Search engine friendly URLS (SEF), since it only occurs when i have SEF and mod rewrite turned on. I am using the default .htaccess file without any changes.
Here are some people with a similar problem, but no satisfying solution is given:
http://forum.joomla.org/viewtopic.php?t=802045
http://www.jevents.net/forum/viewtopic.php?f=31&t=19620
I have read about migration and update errors, leading to the same problem.
I migrated manually (sql backup, change of some path in config file) from local apache to 1&1 apache server, both running PHP 5.4, so i doubt that this is a migration issue Plus the problem also appears when i create new articles and menu items (under the parent category).
Changing aliases in both menu items and article itself does not have any effect.
I really hope somebody could give me a hint, or maybe even just confirm that this is a bug If this is designed behavior than whats the reason for it ?.
I am quite frustrated about it and i don't have that many options left since:
1. SEF is a MUST (to my client)
2. Changing the menu tree structure, so that the linked items are no longer children of their cat block parent destroys my breadcrumbs.
3. rebuild and change every menu item and article manually 2 to 3 times is time consuming, error prone, annoying and i don#t want to sell a product to a client like this, since they want to maintain it for themselves as far as posiible.
Your help is really appreciated !
Greets paad.

Is there an SEO penalty for writing URLs with segments that have no index content?

I am working on a bootstrap based responsive website. The dropdown menus in the main website navigation are opened with a click rather than a hover. There is no index content for each section, only specific page links in the dropdown.
Is there any SEO penalty for having content located at:
www.mysite.com/books/moby-dick
when
www.mysite.com/books
results in a 404 error?
I could generate index pages with links to all children if I had to, but I'd rather avoid creating any content that isn't meant to be viewed directly.
I would like to organize the pages by "folder" using mod_rewrite which I have a pretty good handle on at this point.
The way I understand it, Search Engines place no relevance on one page's URL in relation to another page's URL. Are you looking for some documentation. What search engine are you looking for documentation on? I'm not even sure if that type of info is "documented" but if you think about it, the order of words in a URL only have meaning to us as humans. An engine doesn't place importance of links further up or down the url hierarchy. It wouldn't make sense.
I don't even think your page moby-dick would have a positive/negative impact on the domains home page. Google at least treats every URL as a unique page, hence the "Page Rank" algorithm. Not the site hierarchy algorithm.

Tracking events on parts of website - Google Analytics?

I'm building a single page ad-free portfolio-type website using jquery Isotope. I would like to track how often each project (Isotope element - div with text and a slideshow in it) will be clicked to be able to compare project popularity. Can this be done with Google Analytics? Is that the best tool for that purpose or are there simpler/better/other ones? The provider provides a tool called Webalizer, but that does not allow me to hook up each project element. Google Analytics gives me only information regarding the entire site, not its parts. Thanks for any advice...
EDIT I'm reasonably good with jquery, maybe there's a simple programmatic solution?
This works, placed in the click function assigned to all items (in my case a click function assigned to a div inside the items); now, one can Google track which Isotope .item (e.g. project, image or slideshow, etc.) is more popular than others. Maybe this helps others...
var clicked = $(this).parent().data('item');
//console.log(clicked); to see if an item's data attribute gets read
_gaq.push(['_trackEvent', 'Item', 'Viewed', clicked, null, false]);
//_trackEvent(category (Event Name), action (Event Type), opt_label (Event Label), opt_value, opt_noninteraction) synopsis differs in google's guide and Google Analytics Tracking Code Debugger console output

iFrames - how do search engines read them?

I know that search engines base part of the calculation of rankings on how many other sites point to a specific site, so I was just wondering, given the following situation:
http://siteA/page.aspx contains an iFrame.
This iFrame points to http://siteB/script.aspx?url=http://siteA/page.aspx.
http://siteB/script.aspx generates a list of 1 or more links based on the supplied URL.
http://siteA/page.aspx therefore displays a list of links.
1) Where would Google etc consider links to be based?
2) If it would consider the links to be based at siteB, is there another technique I could use to force search engines to read the links as being based at siteA? For example ajax.
Thanks in advance,
Regards,
Richard
First of all, if you're looking to build a link farm Google will block you faster than you can blink. I would seriously reconsider using iframes to links as in the situation you've described you've no reason to load another page on your first.
To answer your question, iframes load a page on another, so naturally Google will view them as separate entities.
ok think I may have the answer - http://www.highrankings.com/forum/index.php?showtopic=44155&st=0&gopid=312999&#entry312999

Resources