Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    pvollmar
    @pvollmar
    HELP! I just updated a few pages of my two websites, stoutbowman.com and stout-bowman-associates-llc.ghost.io and both my indexes are now EMPTY! I chose not to upgrade to your new version yet as I wanted to wait until these website updates were completed. What is the problem?
    4 replies
    Paul de Quant
    @pauldequant
    How do you index documents such as PDFs using the API?
    2 replies
    AEKercher
    @AnneKercher
    Any regex experts in here? I am trying to get our title field to index consistently, but it usually has our site name appended either once or twice (don't ask me why) at the end and I want it removed. For example, a page's title could be "Test Page - Site Name", "Test Page - Site Name - Site Name" or just "Test Page". So I want it to remove all instances of the phrase " - Site Name". Any suggestions?
    Also, is there a way to set a datapoint as the Title instead of an xpath or url pattern?
    tomesposito92
    @tomesposito92
    @AnneKercher is this what you want? https://regexr.com/664f8
    Olesya
    @lesyaelf_gitlab
    hey @tomesposito92 and thanks for the hint!
    @AnneKercher, you can also try applying the sample Regular Expression from the Default Title XPath as described here: https://docs.sitesearch360.com/working-with-xpaths. Otherwise, please email your project/website name to mail@sitesearch360.com so we can take a closer look.
    tomesposito92
    @tomesposito92
    @lesyaelf_gitlab NP, love a regex challenge :)
    AEKercher
    @AnneKercher
    @tomesposito92 thanks! that is exactly what I want but the opposite. :) So I want everything EXCEPT the site name phrases. When I add your regex and test it, the title shows up as "Site Name - Site Name", which is what I want removed from the Title.
    tomesposito92
    @tomesposito92
    Gotcha, so there are two options @AnneKercher
    you could try this (?:- Site Name) though I'm not sure if it'll work
    OR
    Just look for your exact page name (Test Page) and replace test page with the actual name
    I agree with @lesyaelf_gitlab that the Xpath is easier and safer long term in case something changes content wise. I use this plugin on chrome - https://chrome.google.com/webstore/detail/xpath-helper/hgimnogjllphhhkhlmebbmlgjoejdpjl?hl=en
    It lets me select an element and then prints the xpath magically in the black box
    AEKercher
    @AnneKercher
    @tomesposito92 thanks, I'll play around with the regex some more. The xpath would be awesome but there is very little consistency in where the title is on any given page. We have 3 sites, and microsites, and different sections, and they all seem to have the title in a different place.
    tomesposito92
    @tomesposito92
    @AnneKercher cool, good luck! I don't work for Site search but their support is top notch, if my regex's don't work I'm sure they can supply something that does
    Olesya
    @lesyaelf_gitlab
    @tomesposito92 kind feedback is the best thing at the end of a work day :)
    tomesposito92
    @tomesposito92
    :)
    Olesya
    @lesyaelf_gitlab
    @AnneKercher have you set up titles as data points via xpaths or schema.org? It's not possible to use a data point instead of Title XPath atm but I can check with the team if adding schema parsing for title extraction can be beneficial.
    In any case, it's be best if you could email us with sample URLs from all the sites you want to cover - and we'll what we can do
    AEKercher
    @AnneKercher
    @lesyaelf_gitlab the titles are usually displayed on the page, but the xpath to that title could be totally different depending on what page you are on. I did setup something to inject a json-ld schema.org script onto each page to include the title, image, etc so that I had a universal place to grab it, but I could not find a way to specify the json-ld element for title (only for data points).
    2 replies
    fernmac2
    @fernmac2
    Hello, i am trying to integrate site-search in my joomla website but i must be doing something wrong... any help?
    Olesya
    @lesyaelf_gitlab
    @fernmac2 hey, have you checked the Joomla instructions on adding external JS? If this doesn't help, please email us at mail@sitesearch360.com with more details/what exactly the blocker is.
    Paul de Quant
    @pauldequant
    Hello, Is it possible to do conditional statements i.e. if image exists in search results then show block of html code?
    Jaroslav Vaňkát
    @JVankat
    @pauldequant yes, there are some examples in our templating docs, e.g.
    {{#link}}
             <a href="{{link}}">Here you go</a>
          {{/link}}
          {{!#link}}
             Sorry, we can't take you to the search result.
          {{/link}}
    frank_williams
    @frank_williams:matrix.org
    [m]
    Hi, I have a newbie question. We have 3 generated sitemap.xml. When we enter any of them, the crawler can use them. But each is only part of our site. When we enter the filename of a sitemap index file which has links to the 3 sitemap files, it returns saying could not find any file in our domain. What am I doing wrong?
    frank_williams
    @frank_williams:matrix.org
    [m]

    Following up here's what our sitemap index file looks like: <?xml version="1.0" encoding="UTF-8"?>

    <sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation=" http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/siteindex.xsd">
    <!-- created with PRO Sitemap Service https://pro-sitemaps.com -->

    <sitemap>
    <loc>https://ourdomain/sitemap1.xml</loc>
    <lastmod>2021-10-04T07:14:40+00:00</lastmod>
    </sitemap>
    <sitemap>
    <loc>https://ourdomain/sitemap2.xml</loc>
    <lastmod>2021-10-04T07:14:40+00:00</lastmod>
    </sitemap>
    <sitemap>
    <loc>https://ourdomain/sitemap3.xml</loc>
    <lastmod>2021-10-04T07:14:40+00:00</lastmod>
    </sitemap>
    </sitemapindex>

    Jaroslav Vaňkát
    @JVankat
    Hi @frank_williams:matrix.org can you send me your site id and the link to sitemap index? What you've shared looks good to me, so I'd need to check the sitemap.
    frank_williams
    @frank_williams:matrix.org
    [m]
    Hi @JVankat thanks for the reply. We seem to have resolved the problem. All we did was rename the file we used as site index from "sitemap.xml" to "sitemap-index.xml". I don't understand why that should matter but apparently it does.
    Jaroslav Vaňkát
    @JVankat
    @frank_williams:matrix.org the filename shouldn't actually matter, but glad that this works now!
    bobhrds
    @bobhrds

    @JVankat Back in May, we spoke about my concern with mobile results not generating pdf's in results - and you had some code for me to place in Custom Callbacks. I am still having no luck for good results on mobile. Would you mind looking at al-anon.org again to see if we can correct the mobile search results?


    May 07
    @bobhrds what happens for me on your site (I had to reload using ctrl+f5 to clear the cache, btw), is the native search form is submitted, so on mobile our search results pop up for a short while and then you get redirected to the native wp search, the following line of code under Custom Callbacks > Init Callback should do it:

    window.sxQuery('.fusion-search-form').on('submit', function(e) {e.preventDefault(); e.stopPropagation();});

    https://snipboard.io/B1CiNh.jpg


    Jaroslav Vaňkát
    @JVankat
    Hi @bobhrds - so the search results do load just fine for me on mobile, they just don't look super good to me, is the main issue the cut off titles, or am I missing something?
    Jaroslav Vaňkát
    @JVankat
    @bobhrds update - if it was indeed the issue you were talking about, then we've just fixed this on our side, you'd just need to clear the cache to load the latest version (ctrl+f5 should do it).
    bobhrds
    @bobhrds
    That did it! Can you share any insight ro the fix? Thank you!
    bobhrds
    @bobhrds
    And to answer the question (sorry about that) my main issue was pdf’s were not being returned on mobile and now they are.
    Jaroslav Vaňkát
    @JVankat
    @bobhrds perfect! There was an issue with a grid view in the mobile view, so the heading didn't have sufficient space.
    AEKercher
    @AnneKercher
    Hello. We are utilizing our SS360 implementation to populate certain pages with content types (events, news, products, etc) without a specific search query. I am creating a filter called "Content Type", so when you go to our News page for example, it will show all results with filter: contenttype="News", so it will not really be triggered by a search button and the search query will technically be blank. Then on the page, there will be additional filters such as year, so if you click on "2021" it will add the filter newsyear="2021". What is the best way to implement this? Should I just create a subconfig containing the filters, with the result url as the news page, and the query="*"? And then use the js api to switch to that subconfig?
    8 replies
    AEKercher
    @AnneKercher
    I am indexing pages "On Publish" in our CMS via the REST API. The time it takes to index a page this way is between 6 and 8 seconds. Is this to be expected? Is there anyway to speed this up? It is the same if I send the POST request through Postman. This seems fairly long to me.
    7 replies
    Andrew McDonald
    @andrewijm

    Hoping someone can help me with implementing a custom result template. As an example, I have added this code which was copied from the documentation.

    results: {
                resultTemplate: {
                     template: '<article class="my-search-result"><h2>{{name}}</h2></article>'
                }
            },

    {{name}} and every other variable doesn't display anything and I have no idea why. Any ideas?

    14 replies
    Andrew McDonald
    @andrewijm

    Sorry for all the questions today, but I have another one :)

    My search results are embedded into the page. When the results load, I would like to be able to hide a div container on the same page to help remove clutter and confusion.

    In other words... Visitor is on my homepage. Sees all my blog posts listed. Uses ss360 to search. Results are displayed at top of page. Nice! But the page also now shows all the other posts... Would love to run a simple .show .hide script to hide the main blog posts once ss360 results appear.

    Anyone achieved this before?

    2 replies
    Alfred Anyan
    @alfredanyan
    @AnneKercher, sorry for the late reply and for not having a concrete solution yet. I came to an average of 5 s on the tests I run but would need a bit more time to look into it. It would also be great to have one of the url's you indexed so we can test for improvements. Thanks.
    AEKercher
    @AnneKercher
    @alfredanyan Thanks for the response. I am currently working with our test site, and an example url is https://test.astro.org/Daily-Practice, which takes around 6.5 seconds to index via calling the Index by URL in Postman (also just as long through our web application). I am setting it up so that when our content approvers click "Publish" in our cms, the page then gets indexed. Currently the publishing takes very little time, so it is concerning to them that the button seems to not be working for 6-8 seconds, which can cause them to hit it multiple times. If there is anyway to speed this up that would be great.
    2 replies
    Gary Wong
    @spingary
    Hi! I am trying to use filters with data points, and it's working OK. However, I cannot get my data points to show up in the search results. When I view details of a page in the admin, the data points show up as not visible. How can I change them to "visible": https://sg.d.pr/lNet5w
    2 replies
    misterflippy
    @misterflippy
    I'm evaluating Site Search 360 for use with our Duda sites. I'm having some issues configuring Data Points and Content Extraction. Should I ask for help via Duda Support, or can I get help here?
    3 replies
    Mary Grace Magalso
    @aznthrushie:matrix.org
    [m]
    anyone here have any idea with the widget Site Search 360 not passing search data to Google analytics ??
    2 replies
    AEKercher
    @AnneKercher
    Hello. I am using the API to bring back search results for our faceted/filtered pages. We need an option to filter by date range (really just before or after todays date). Is there a way to set a date range filter?
    1 reply
    Tanuki
    @IMTanuki
    Hi - evaluating site search - I saw the npm for vue and react. Is there a comparable module for bootstrap 5 and/or can it access bs5 classes? Thx!
    1 reply
    AEKercher
    @AnneKercher
    Hello. I am trying to pull back all of our products via the api using filters. We have mainly 4 types of products, and I am trying to return all of them, in groups of 10, sorts by name ascending. The results are not bringing back everything, even if i remove the limit, and they are definitely not sorted by name ascending. COuld you please advise? Here is my api call: https://api.sitesearch360.com/sites/?query=*&site=test.astro.org&filters=[{"key":"fid%237","values":[{"name":"Brochures"},{"name":"Publications"},{"name":"Videos"},{"name":"Virtual Meetings"}],"min":null,"max":null},{"key":"fid%231","values":[{"name":"Product"}],"min":null,"max":null}]&sort=name&sortOrder=ASC&offset=0&includeContent=true&highlightQueryTerms=true&includeContentGroups=["ASTRO"]&complexFilterFormat=true
    2 replies
    AEKercher
    @AnneKercher
    Can someone please help me with regex for the url pattern for a data point? I am trying to basically pull the 2nd and 3rd path elements from a url and what I constructed from the internet is not working when I put it in my data point. I am not sure if you guys don't support certain regex? Anyway, for a url like "http://test.asto.org/Meetings-and-Education/Live-Meetings/2020/Test-Meeting", I want to extract "/Meetings-and-Education/Live-Meetings", but only if the second path is "Meetings-and-Education". I have put in "/Meetings-and-Education/(.*?)/" as my url pattern, but this only returns "Live-Meetings" not "/Meetings-and-Education/Live-Meetings".
    1 reply
    Martialmartz
    @Martialmartz
    Hi, i've set upSiteSearach360 on a production site, but the search field is not working. I'Ve been using <input type="search" id="searchBox"> and custom mode, but the search does nothing. Would appreciate some help
    The site is available under: https://www.corscience.com/search/ and i also need to integrate it multilingual DE/EN (using WPML)
    24 replies