i want to search my site with the help of google. search result will show in my page and no google related icon will show as if user will feel the search functionality is internal. how could i implement in asp.net. thanks
Ah, you are looking for Google Site Search.
It provides custom branded, in-page results.
Google's free, slightly striped down version is pretty good too: Google Custom Search
You could use the Google Search API to accomplish that. Here are some examples, how you could do it:
ASP.NET web client for Google Web API
Using the Google search API from ASP.NET
Google Search API implementation in asp.net Tutorial
Related
We have created a SharePoint 2010 web part where we display our company feed from https://www.linkedin.com/company/"Name of Company"/.
End-users need to login the first time (that is ok). But even though they login using their personal LinkedIn profile, they cannot see our company-feed. Why is that?
If the users are set as LinkedIn Designated Admins they can see the feed, otherwise they cannot.
We are using
<script type="text/javascript" src="//platform.linkedin.com/in.js">
api_key: "The key"
lang: da_DK
authorize: true
onLoad: onLinkedInLoad
</script>
I hope someone can share their knowledge.
This is why :'( https://developer.linkedin.com/blog/posts/2015/developer-program-changes
Starting on May 12, 2015, we will be limiting the open APIs to only support the following uses:
Allowing members to represent their professional identity via their LinkedIn profile using our Profile API.
Enabling members to post certifications directly to their LinkedIn profile with our Add to Profile tools.
Enabling members to share professional content to their LinkedIn network from across the Web leveraging our Share API.
Enabling companies to share professional content to LinkedIn with our Company API.
Only people who can admin the feed can read/update to the company feed. All others are excluded unless you manage to get yourself promoted to LinkedIN partner: https://developer.linkedin.com/partner-programs
Some light on this issue over here:
As ahmeij said, Linkedin doesnt provide anymore an easy way of embedding your company/personal profile timeline anywhere. However, there is an alternative way of implementing this.
You will make use of the RSS feed of the profile. The url will be something like this:
https://www.linkedin.com/biz/[PROFILE ID]/feed?start=0&v2=true
You can find out the numeric ID in you profile/company page.
Read the full source here: https://www.glintech.com/blog/confluence-embed-linkedin-company-feed.html
I found the way to implement a CORS proxy, and got this working.
I used this simple PHP CORS proxy
However, LinkedIn site doesn't return any information from this URL anymore, it just returns a [301 - moved permanently] error :_(
As Alberto mentioned in the post below a RSS feed can be used to create an embed code. To enable RSS on your LinkedIn and get the RSS link you can follow this guide. Then you can use this plugin to generate an embed code of the feed.
You can use a social wall solution like Walls.io to add LinkedIn company feeds to your Sharepoint website. The tool generates an iframe or JavaScript code that you can embed. Here's an article on how it works on SharePoint.
I wanted to integrate social websites using their API. Is there any free API which ease this work? Like Facebook, LinkedIn and Google.
My intention is to give the user the opportunity to login/register through these websites to
get profile information specially from LinkedIn and Facebook.
Check out the Facebook SDK. There is a NuGet which will get you started quickly:
Documentation
Source code
Facebook has a great API for that and documentation, and you can download the Facebook API if you need it.
Is it possible to use Google iGadget API with my ASP.NET website or it just can be used to develop gadgets for iGoogle portal only ?
thanks
You just need a compliant gadget container. Take a look at Apache Shindig for an open source example. Not sure if there's anything specifically for ASP.NET, though...
UPDATE: Looks like Pesta might be a possibility.
I'm searching for some internal site search code.
The scenario is:
I'm having a site in which the content comes from database (CMS) which makes the pages dynamic. So the search tool should search this dynamic content too.
I don't want to use readymade search engines like google, bing etc....
Do I need to make my own search control for this or would I get a ready code? If I would have to make my own then what approach should I take?
Lucene.NET can search files and database, or any text-based content. See here how to start. You can also buy a book. For documentation, you can search for Java examples, wikis and docs, because it's direct port so most of concepts for on .NET version also.
You can use google search to search in your pages, see
How can I add a Google search box to my Web site?
I want to insert MSN maps into my Asp.net application but I can't find sufficient stuff on this when I googled. "How to link MSN maps" link in this page is no more working. "http://www.mapblast.com/%28iniifwbwxwg54arnwwog3waq%29/DirectionsFind.aspx" can someone suggest any solution to insert only MSN maps. Thanks.
You might want to look at Bing maps API. Developer articles here.