Posts with a url do not open but link to url - telescope

When adding posts that have a URL included in the body, the post does not open, rather just the URL. The url is automatically added to the URL field by Telescope. What am I missing setting-wise?

That's just the way Telescope (and Hacker News, Reddit, etc.) works. If you provide a URL, the link will take you there.

Related

URL in HTML and URL for desired link are not the same

I am working with mining some links from a Chinese academic article database.
It appears that when I refresh the page to an article I'm looking at, or simply copy and paste a url, the url redirects to the database's home page rather than the article.
For example, the following link goes to my search results:
http://search.cnki.net/search.aspx?q=%E4%BA%BA%E5%B7%A5%E6%99%BA%E8%83%BD
The first article's individual url is:
http://www.cnki.net/kcms/detail/detail.aspx?dbcode=CJFQ&dbName=CJFQ2016&FileName=KJDB201615009&v=&uid=
However, if you try to directly click on the article link or refresh the article page, it redirects to the database home page. Why is this happening? Is there any way to get a "stable" url to these articles?
One detail that may matter, although I'm not sure, is that the url in the HTML code to the individual articles is also different.
<a href="http://epub.cnki.net/grid2008/brief/detailj.aspx?filename=KJDB201615009&dbname=CJFDLAST2016" target="_blank">
It's not really up to you.
The website you are referring checks if the link you are opening is a direct link or was opened from another page on the same website.
This is probably to prevent embedding links of this website in other websites.
In short, it does not allow direct links to its articles.
You can see it by examining the header returned from the request.
Instead of 200 OK you get 302.
Which tells the browser to redirect to another location.
You can try and fool the website by adding a "Referer" header to your request.
If you look at the header
that works you'll see that there is one.
I did not try but I'm pretty sure it will work.

How do I link to a URL that contains encoded forward slash?

Here's a page at the URL http://www.last.fm/music/45+King%2FTake+6
If I link to it in a page, using this HTML:
Link
then the browser 404s because it ends up here, at http://www.last.fm/music/45+King/Take+6. i.e., the %2F is decoded to /.
Why does that decoding happen? Why does a URL I can successfully paste into the browser not work as a link in a page? I feel like I'm going mad...
I noticed the "Here's a page" link in my question was working fine, while my link in a local static HTML file wasn't... that was confusing.
The difference is that locally my link was to the last.fm domain, rather than www.last.fm.
So, the link to last.fm redirects to the www.last.fm version, and in that redirection the %2F is decoded.
So I just need to link to www.last.fm instead!

Why facebook share button shows article url on og:title graph in stead of the actual title?

I have as an example this page.
http://www.kefet.com/content/article.html?langId=90&artLang=en
If you go to that link after logging to your facebook account and try to share the article,
on the title it shows you the url in stead of the title of the article.
I went to check with facebook debugger, and obviously it said that I have the URL on
og:url http://www.kefet.com/content/article.html?langId=90&artLang=en
og:title http://www.kefet.com/content/article.html?langId=90&artLang=en
Yet when I go to see my source code of my page, I see all correct. Is there anyone that can help me and tell me what do I need to change in order to show the title of the article where it belongs?
Thank you!
The problem may be facebook uses cache for OG tag.
You can use sharer.php as below :
http://www.facebook.com/sharer.php?s=100&p[url]=your_url&p[images][0]=image_url&p[title]=your_title

Why are my URLs messed up by Facebook?

The link to certain pages on a site I've written looks like this:
http://myhymnal.net/2/be-thou-my-vision
That would be the id and a slug. When I paste this URL into the Facebook post field, the URL it ends up fetching an "example" of is the following:
http://myhymnal.net/2/2/be-thou-my-vision
Could anyone help me figure out where that extra 2/ comes from? I don't understand it.
Findings
The URL I paste in is http://myhymnal.net/2/be-thou-my-vision and works fine in the browser.
The base href is set to http://myhymnal.net/ and I have set the canonical to 2/be-thou-my-vision, which is relative to the base URL and should work fine. Although I suppose this maybe could be what's messing it up?
Other than that I really have no clue... :(
Look at Facebook's Debug Tool - you're setting the canonical URL relative to the current directory, not the site root - facebook is then fetching http://myhymnal.net/2/2/be-thou-my-vision
Use a fully qualified URL for the canonical URL

I want to have a link to my facebook page from my blog

Every time I try to embed code that was recommended by another user, I get the same message: Could not retrieve id for the specified page. Please verify correct href was passed in.
All I want is something on my page that a reader can click to take them to my Facebook page. What am I doing wrong?
You can create a personal username for your account on facebook, check Facebook Usernames general information, creating a username will provide you with a custom url something like
www.facebook.com/YOURUSERNAMEHERE
you can easily add this to your blog by using the following html
Follow me on facebook
It would also be helpful if you post the code that you're trying to use currently, otherwise no one has any idea what you're trying to do.
If you just want a link in HTML to your facebook page, put this into your page:
My Facebook Page
The section that goes within the quotes should be the URL you see when you navigate to your Facebook page.
Are you talking about a Page or Profile?
For Pages, the Like Box plugin is probably the best option, and lets people like the Page right from your website: https://developers.facebook.com/docs/reference/plugins/like-box/
For your own Profile, there's Badges ( https://www.facebook.com/badges/ ) which you can use
If it's your own Profile and you want people to Subscribe to you ('Follow') - there's a subscribe button you can use for this: https://developers.facebook.com/docs/reference/plugins/subscribe/
i dont know why, but for some reason, you have to include the http:// before the link