PassMark Logo
Home » Forum

Announcement

Collapse
No announcement yet.

ZoomSearch engine not able to index the jquery genrated hyperlinks

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • ZoomSearch engine not able to index the jquery genrated hyperlinks

    ZoomSearch engine not able to index the jquery genrated hyperlinks.

    We have asp.net pages having jquery genrated content . The content contains hyperlink for some listed events Or news.

    It is indexing html files but not able to index jquery genrated hyperlinks, i have also use NOSCRIPT, but it does't give any result.

    kindly assist me to how i can index jquery generated hyperlinks or please refer any example that will be great.

    Thanks
    Shunya Tech

  • #2
    See this FAQ
    Q. Why are links in my Javascript menus being skipped?

    Comment


    • #3
      <div id="eventDetails">
      </div>

      <script id="eventDetailsTemplate" type="text/x-jquery-tmpl">
      <div width="100%"><a href="Pages/Events/Show/${Id}">
      <img src="${ImgUrl}" alt="${HeadLine} Logo" height="70px" width="162px" /></a></div>
      <a href="Pages/Events/Show/${Id}">
      <b>${HeadLine}</b></a>
      <br>
      {{html Details}}
      <br>
      Date :- ${EventDate}
      <br>
      <p align="right">
      <a href="Pages/Events/Show/${Id}">More...</a></p>
      <hr>

      </script>

      <script type="text/javascript">
      /* Render the template with the events data and */

      $('#eventDetailsTemplate').tmpl(upcomingEventList) .appendTo('#eventDetails');

      </script>

      Above is the jquery code sample , what are the things need to be change in this code block.

      Thanks,
      Shunya Tech

      Comment


      • #4
        The URL in your code isn't fixed and is generated on the fly based on URL fragments dynamically assembled, depending on where the mouse is and what the user clicks on. It isn't going to work.

        Just add some plain old HTML links.

        Comment


        • #5
          I don't see any <noscript> tag in the above example. You said it didn't work, there's probably a reason why. If you just have plain HTML links in your <noscript> tag, then the only likelihood of it not working is some mistake in your HTML.
          --Ray
          Wrensoft Web Software
          Sydney, Australia
          Zoom Search Engine

          Comment


          • #6
            <table width="100%" border="0">
            <tr>
            <td style="width: 65%; vertical-align: top">
            <div id="newsDetails">
            </div>
            </td>
            <td style="width: 35%; vertical-align: top">
            <div id="newstab">
            <div>
            NEWS ARCHIVE
            </div>
            <div id="archievenewslist">
            <div id="archievenewslistdata">
            </div>
            </div>
            </div>
            </td>
            </tr>
            </table>
            <script id="newsDetailsTemplate" type="text/x-jquery-tmpl">
            <div>
            <p><h3>HeadLine : ${Headline}</h3></p>
            <p>Description : {{html Details}}</p>
            </div>
            </script>
            <script id="newsListTemplateNewsMonths" type="text/x-jquery-tmpl">

            <h5><a href='#'>${Month}</a></h5>
            <div>
            {{tmpl(News) "#newsListTemplateArchiveMonthNews"}}
            </div>

            </script>
            <script id="newsListTemplateArchiveMonthNews" type="text/x-jquery-tmpl">

            <p><a href='${NewsId}'>${Headline}</a> </a></p>
            <hr>

            </script>
            <script type="text/javascript">
            /* Render the template with the news data and */
            $('#newsDetailsTemplate').tmpl(currentNews).append To('#newsDetails');

            $('#newsListTemplateNewsMonths').tmpl(archivemonth s).appendTo('#archievenewslistdata');
            $(function () {
            $("#archievenewslistdata").accordion();
            });

            </script>

            <noscript><a href="http://localhost:17792/Pages/News/Show/1">News1 </a></noscript>

            I am using noscript like given here but the spider does not index it

            Comment


            • #7
              It should be indexing the link. Check the indexer log to be sure.

              So reasons it migt skip the link, even if it was found are,

              * If the base URL is not set to localhost it will skip the link (you would see the error "Skipping http://localhost/Pages/News/Show/1 (External site - does not match base URL)" )

              * If you haven't enabled "Scan files with no extensions" in the scan options it will skip the link as there is no file extension (you would see the error "Skipping http://localhost/Pages/News/Show/1 (Blocked by extensions list)" )

              * If you're not running Zoom from the same machine as the pages it will likely fail due to the localhost link

              Comment


              • #8
                zoom search is indexing these javascript links after using no script
                </script>

                <noscript><a href="http://localhost:17792/Pages/News/Show/1">News1 </a></noscript>
                but it is not showing the text when i search which are on that pages

                shunya Tech

                Comment


                • #9
                  I am using noscript like given here but the spider does not index it
                  .....zoom search is indexing these javascript links after using no script
                  If the page is in fact being indexed, then the some / all of the text on the page might be being skipped becuase,

                  The page isn't valid HTML?
                  The text is being skipped due to NOINDEX meta tags?
                  The text is being skipped becuase it is in ZOOMSTOP tags?
                  The text is being skipped becuase it isn't really text, e.g. it is really an image, or embedded in Flash, or not in HTML, etc..

                  Hard to comment without seeing the page.

                  Comment


                  • #10
                    zoom search engine is able to index the url given in noscript but it does not show the text indexed from that url when i search. it also does not show the text in zoom_dictionary.zdat after indexing that url. can you tell whats the problem.

                    <noscript>

                    <a href="http://localhost:17792/Pages/Events/Show/3">Event3</a>

                    </noscript>


                    shunya tech

                    Comment


                    • #11
                      You asked the same question, so the answer is the same,

                      If the page is in fact being indexed, then the some / all of the text on the page might be being skipped because,

                      The page isn't valid HTML?
                      The text is being skipped due to NOINDEX meta tags?
                      The text is being skipped because it is in ZOOMSTOP tags?
                      The text is being skipped because it isn't really text, e.g. it is really an image, or embedded in Flash, or not in HTML, etc..

                      Hard to comment in more detail without seeing the page in question.

                      Comment


                      • #12
                        zoom automatic indexing

                        How can we schedule multiple sites indexing using zoom automatic indexing tool.
                        at the moment i am able to specify only one.

                        Comment


                        • #13
                          Do you want multiple sites in a single set of index files.
                          Or do you want multiple sets of index files with 1 site per set of files.
                          Both are possible.

                          If it is the later you want, then you need to make a configuration file (from the File menu) per site. Then if you want them scheduled, you need to create a scheduled job per site.

                          Comment

                          Working...
                          X