Jekyll is generating random characters in my blog post URLs - jekyll

I'm working on building a site using Jekyll and GitHub Pages. I've gotten it down for the most part, but there's an odd issue I can't seem to figure out.
My blog post pages that are generated by Jekyll have a set of seemingly random characters generated at the end of the URL after the page loads. Here's an example:
http://www.jenniferaldoretta.com/2014/01/12/welcome-to-my-website/
The link works but is changed to http://www.jenniferaldoretta.com/2014/01/12/welcome-to-my-website/#.UtQZa2RDt8U after the page finishes loading.
Is this something that is typical for Jekyll or is there something I'm doing wrong? This issue started only after I integrated my site with Jekyll. I'm wondering if anyone has ideas on what might be causing this.
Thanks!

Looks like you've enabled address bar tracking {"data_track_addressbar":true} which appends those parameters to your URL. They're there so that we can collect analytics when someone copies the URL out of the address bar instead of going through the addthis sharing tool. It shouldn't affect people linking to your site and can provide insight into what content is the most popular on your site.
If they're not wanted or are causing issues, you're free to disable address bark sharing tracking. Just adjust your addthis_config variable in your site like this:
<!-- AddThis Button BEGIN -->
<div class="addthis_toolbox addthis_default_style ">
<a class="addthis_button_facebook_like social-buttons" fb:like:layout="button_count"></a>
<a class="addthis_button_tweet social-buttons"></a>
</div>
<script type="text/javascript">var addthis_config = {"data_track_addressbar":false};</script>
<script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-52ceee943bc45eff"></script>
<!-- AddThis Button END -->
More information about address bar sharing analytics is available here: http://www.addthis.com/help/address-bar-sharing-analytics

Related

How do I stop my Bootstrap Webpage (under development) from refreshing automatically

Explanation of issue:
Hi.
I'm developing a personal webpage using HTML and CSS. I have also incorporated Bootstrap and a number of its components to achieve responsiveness.
I'm using Locally linked Bootstrap file/folder (not the online CDN). I want to use Locally downloaded Bootstrap until I have finished development.
However, I'm having difficulty testing all the features of the site sufficiently, especially the carousel component which features multiple gallery photos, because it keeps refreshing on me and this is really disruptive.
In other words, while testing something or clicking through the photo gallery, before I go through a quarter of the entire photos in the gallery, the page will suddenly refresh itself, causing me to start my testing afresh and this never ends.
Question:
How can I disable auto-refresh on the site or at least to set it to a very large value, so it doesn't disrupt my work?
Thank you.
Answer:
I have finally figured out the solution.
While I was going through my HTML Code and reviewing the meta tags in the section of the code, I discovered that I had put a refresh value somewhere as one of the open graph meta tags. I had used a boilerplate code from somewhere which included a refresh rate of 30 seconds in the meta tag.
In essence, I had copied the boilerplate in addition with the meta tag and the refresh value along with others, while I was putting meta tags for the webpage.
I decided to comment out this piece of meta refresh tag and now, the web page is no longer refreshing automatically.
Below is the code:
<!-- END OF OPEN GRAPH SECTION -->
<!-- <meta http-equiv="refresh" content="30"> -->
Thank you.

Embedding MediaWiki pages into main website

I'm looking for a way to get media wiki articles/pages into my main website. Our "documentation" is all on a separate website using MediaWiki, we want to embed the pages into our current website's template so it looks like it's apart of our website, as much as possible.
This means not having the navigation, headers & footers, etc. that normally come with a MediaWiki website. As well as possibly skinning it to look like the main site.
It might be worth mentioning the main website is running on Node.js
You could setup a template on your main site. Within the content area of this template you can use the jQuery load function to load the content part (#mw-content-text) of the MediaWiki page.
The code would look like this:
<div id="some-id"></div>
<script>
$('#some-id').load('URL-to-your-MediaWiki-page #mw-content-text');
</script>

How can I redirect just a single blogger.com page to an external URL?

I have a blogger.com blog that covers a variety of topics, including PC troubleshooting tips. I've decided to start a dedicated PC troubleshooting blog, using a different blogging service. I want to move some of those PC troublehshooting posts from the old blog to the new blog. I want people who end up at the old posts via search engines to be automatically redirected to the posts on the new blog.
I know I can easily redirect the entire blog to an external blog, but I don't want that. I want to preserve the old blog, but just relocate some of its posts to the new one.
I know I can redirect individual blogger.com pages to other pages within the same blog, but I don't want that either. I want to redirect to an external URL.
I can add html code to blog posts in blogger, but I think it only accepts code that goes into the {body} section. Perhaps my problem boils down to two questions:
is there a way to edit the {head} section of a blog post without doing it for the entire blog?
is there a way to do an automatic redirect using code that you put in the {body} section?
It wouldn't be a 301 redirect, but you could put this code inside your body:
<script type="text/javascript">
window.location = "http://myblog.blogger.com/mypost";
</script>
Use pages gadget for a proper search engine friendly 301 redirect. Go to layout > click pages gadget (or add it if you are not already using it) and edit it to simple add external page to your menu. The only caveat is that it will become a part of the menu and will not be a hidden redirect which you can only manually post in links.

Anchor on single page website

This is an issue regarding, http://www.mccaffreyhautecouture.com/
I am unable to create an external link where the viewer is brought to a specific page within the website. On landing, the viewer must always enter by the landing/main slide page.
This was a purchased template and the entire website is coded in a single index.html file.
My client would like their Pinterest images to link directly to the source or gallery.
Is this at all possible?
I greatly appreciate any assistance.
Thank you,
Stanley Ounarom
It looks like this was written using AJAX to pull in content. The URL doesn't change when nav is clicked, which makes it impossible to link to a specific page w/in the site. The site will need to be further developed to allow for this functionality.
This may help:
jquery ajax history and bookmarking plugin

Wordpress widget not showing on all pages - html problem?

A widget in SideBarOther shows up on the main article listing page, but when I select an article (same page layout, the article replaces the listing), the widget isn't there. There are two items in SideBarOther, and only the 2nd one has this problem (see code below). If I remove the first one, it is correctly gone from from both the listing page and article page, and the 2nd one still only shows up on the listing page. I'm using an unmodified "News Magazine Theme 640" theme.
<a href="http://www.facebook.com/pages/[our-page]/[our number]" title="[our name]"
target="_blank"><img src="../pics/fbook_button.jpg" boder="0" alt="[our name]"></a>
<script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script><fb:like
href="http://www.facebook.com/pages/[our name]/[our number]" layout="box_count"
show_faces="false" width="50"></fb:like>
NO, I am not confusing which widget is not appearing - the local directory reference ../pics on the first widget works on all pages. The Facebook Like button is the one that isn't appearing on all pages.
This is not hosted by Wordpress, rather Wordpress v. 2.92 is installed on our website.
(I tried the official wordpress forum, and got no reply.)
UPDATE
I "viewed page source" in Firefox, and THE CODE IS THERE on the article page, and it's IDENTICAL to the listing page. So why isn't it displayed??? I tried the Opera browser, same results. I added another copy of the first widget, and two of them appear on the listing page, and on the article page - the box automatically adjusted to accommodate them.
Adding <script type="text/javascript" src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script> before the Facebook Share Code solved this problem. This was discovered after I found that if I disabled the Facebook Share plugin, the like button then worked.