Is there any way to make skype always detect numbers on my site by including any header file or something and which number format is prefered that skype detects easily...
This is based on a browser extension. The users of your site will have to have it installed.
You could try using links with tel: or skype: schema, e.g.:
Call us
More info here
Related
I am trying to download content from a website which has a sort of paywall.
You have a number of free articles you can read and then it requires a subscription for you to read more.
However, if you open the link in incognito mode, you can read one more article for each incognito window you open.
So I am trying to download some pages from this site using Python's requests library.
I request the URL and then parse the result using Bs4. However it only works for the first page in the list, the following ones don't have content but have instead the message with "buy a subscription etc.".
How to avoid this?
I think you can try to turn off javascript in the browser, it may work, but not 100%.
Is there any way to open telegram application from a website being in a mobile? I know if you use telegram:// you can open telegram app, but how can I open telegram and create a new conversation with a given number? i know it is possible by whatsapp like this:
this is the link https://api.whatsapp.com/send?phone=359883378007,
when the link loads it beign redirected to this link
whatsapp://send/?phone=359883378007
You can use this link to open conversation with telegram username:
https://telegram.me/telegramUsername
telegramUsername:
username without #
To share with Telegram.me, you have the following URL options...
https://t.me/share/url?url={url}&text={text}
https://telegram.me/share/url?url={url}&text={text}
tg://msg_url?url={url}&text={text}
Take a look at the official API source: Core.Telegram.org: Widgets -> Sharing Button. They suggest the t.me format. It seems like telegramUsername format, or any format indicating a user or a phone number, is not supported according to the documentation.
You may share:
url : The URL you want to share.
text : Text to accompany the URL you want to share.
If you are interested in watching a project that keeps track of these URLs, then check us out!: https://github.com/bradvin/social-share-urls#telegramme
2022 Updates
YOU CAN'T DO THAT.
But, you can do the same with username -
https://telegram.me/Telegram_Username_Here
For updating the information -
telegram:// no longer works on the latest chrome browser of pc version, instead of this, use tg:// which works great on all devices.
I registered my own URL scheme.
https://msdn.microsoft.com/en-us/library/aa767914.aspx
how do I create my own URL protocol? (e.g. so://...)
Link example: oce://10000
IE, firefox, windows explorer handle it fine. Id 10000 is opened correctly in my app.
Is it possible make this links clickable in Skype?
I already find this unanswered support ticket http://community.skype.com/t5/Windows-archive/Custom-URI-scheme-handlers/td-p/3627869
You can build a redirect page as suggested here: http://www.developerstalk.net/building-a-redirect-page.aspx
Maybe the easiest way to do this is simple redirect.
Use .htaccess and 301 redirect to desired location. That's the most easiest way. Then just let the server deal with everything.
Ideally, an application need to launch/execute URIs it doesn't support or recognize with the OS shell. Skype may be ignoring custom URIs as a security precaution. They don't want to launch unknown applications.
I have a requirement to check that all the hyperlinks still work on a password protected, private website. What's the best way of doing this?
The site is mix of HTML and ASP.NET Webforms.
EDIT: Sorry - I don't think this question was clear.
I need something like this:
http://validator.w3.org/checklink
But for a site hidden behind a user/pass form. I don't mind doing something programmatically or purchasing something if it's reasonable.
You should seriously look at the unix command line tools to do this. Esp wget
take a look at the --spider option in combination with the --user and --password options...
Also take a look at curl or libcurl+php
There are two things that are not terrible clear about your question.
First, what sort of user/password are required. These can be POST values or they can be the username and password from the http protocol. Which do you want? There are several ways to provide a username and password to a website, and whatever solution you use has to work with your website. That means that you have to have a very accurate understanding of which method you are using. Just the fact that it has a username and password is not nearly enough information.
Second it is unclear what you mean by "links still work" do you mean internal links that will or will not work based on the proper functioning of your application, or do you mean links to public Internet sites that happen to be on a password protected site?
I am assuming the later with this answer. But if you meant the former then you should look into one of several web application test suites that have recently come available.
HTH,
FT
Rel Software's Web Link Validator works quite happily with Forms Auth based sites - we've been using it on client sites for some time now.
The main things to watch out for are:
Send the link checker to your Login Page first.
Ensure you tell it to ignore all Logout URLs (so it doesn't inadvertently log itself out).
I enjoy using SimpleTest for testing my own websites, but there's no built-in link checker.You could use it to navigate the login and fetch the page body. You'd then parse the content using regular expressions to find all links, and use SimpleTest again to verify those links (and even crawl them to verify recursively).
Of course, using cURL (or libcurl with your language of choice) gets you pretty close, too.
You just need to authenticate the WebRequests ...
Where are you stuck?
-- Edit
Well, it depends on what you mean by 'password protected'. How do is the login scheme implemented?
You can do this using Apache httpclient has the features
Is there a way to programmatically set the name of a file to be uploaded from a web page? I suspect that browser security restrictions make this impossible, but I'm hoping someone will prove me wrong.
I have a web application that needs to let the administrator upload HTML. The admin selects the HTML file, then the app uploads that file, plus figures out all the supporting files (images, stylesheet, etc) and uploads them too. There doesn't seem to be a way to programmatically upload the supporting files from a web page, since the user has to specify each file explicitly.
Currently I have a separate Windows app to do this, but it would be ideal to have this functionality integrated with the rest of the app. My back end is ASP.NET with C#.
There is no way to programatically grab files from a user's computer via the browser. This would be a security violation if a website could just grab things.
Yes you can (in modern browsers)...
You can get and set the value of HTMLInputElement.files.
See this answer.
No, you cannot do this without a client-side application or special plug-in.
Browser security doesn't allow the server to obtain information about the hard drive contents of the client.
You may be able to do this using some form of browser plug-in. This is more work for you (and there are potential security implications for this beyond those found when you just have users run your app). However, it may prevent a more integrated experience for your users. I'd hesitate to eliminate the application completely, though. Browser compatibility issues are common.