Deep links

Deep Links are easy ways to integrate Starmind in your website. Those are url that can be dynamically configured to ask or search for questions, or to bring the user automatically to a specific solution or comment

Deep link URL to ask question + URL_ENCODED_PAYLOAD

Example: Question Form in HTML

The following example of code can be integrated in a webpage. It will display a search field and a submit button. If the user enters any text into the search field then click on the submit button, this will automatically bring them to the Starmind application, where their question will already be prefilled and suggestions of existing matching questions will be provided.

<form action="" method="get" target="_parent" onsubmit="parent.location.href = '' + encodeURIComponent(document.getElementById('textarea').value); return false;">
    <a class="logo" href="" target="_blank"><img src="img/logo.png" width="141" height="26"></a>
    <div class="intro">
        Ask any question and Starmind will find someone who can solve your problem.
    <div class="question">
        <textarea name="p" id="textarea" placeholder="Start typing your question..."></textarea>
    <div class="button">
        <input type="submit" value="Submit question" class="btn">

Deep link to search + URL_ENCODED_PAYLOAD

Example: Search Form

On the same principle as the previous example, with this code, when users type their requests on their own website and submit it, this brings them to the Starmind platform, where their requests have already been prefilled and potential solutions provided.

<form action="" method="get" target="_parent" onsubmit="parent.location.href = '' + encodeURIComponent(document.getElementById('searchfield').value); return false;">
    <div class="input-append">
        <input type="text" name="p" placeholder="Start typing your question.." id="searchfield" class="span6"> <input type="submit" value="Go" class="btn btn-success">

Deep link to solution

This deeplinks is based on the concept of sharing information, where the user can share a link to a specific solution, either on a website or directly to another user. By clicking on the link, the Starmind platform will open and navigate directly to the solution. + SOLUTION_ID

Deep link to comment

Similar to the Deep link to solution, this deep link allows to share a link to a specific comment. + COMMENT_ID