Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Infra|Red
    @InfraRed:matrix.org
    [m]
    Not sure about Pawtucket. Will have a look and let you know later. I'm on a phone right now.
    Jonas Rosland
    @jonasrosland
    :thumbsup:
    That seems to have done the trick!
    The objects now show up in the correct places. Thank you again!
    Infra|Red
    @InfraRed:matrix.org
    [m]
    My pleasure.
    ericwm
    @eriwm

    Really stumped on this one. I have my Object Categories in an hierarchical list and if I enter the data via the Object Editor interface I can see the result of the entry in my Summary screen using the following code

    <if rule = "^ca_objects.type_id=~/Built Environment Object/">^ca_objects.built_environment_object.hierarchy.preferred_labels.nameplural%delimiter=➞_</if>
    The Category is chosen from the New Object list and the sub category is chosen from a drop down hierarchical list
    I am now trying to import the sub category data from an excel spreadsheet but I am battling to figure out where I should be mapping the data to for starters and what splitter I should be using in order to end up with the same result as entering via the Object Editor.
    The source data in the spread sheet is in the column form of Category-Sub Category-Primary Term-Secondary Term-Tertiary Term.
    Any pointers on how to go about mapping the data to the correct place and the splitter to use would be appreciated.
    All the other object related data imports ok.

    Ja-9 the Orcish Librarian 👩‍💻
    @JanineWinfree_twitter
    Hey y'all, I've been having trouble with my site going down and installed redis to fix that and it works, but only if I go straight to the IP address for the server... if I use my domain, it still gives me ERR_CONNECTION_REFUSED. Any tips before I go to my domain host support?
    CollectiveAccess
    @collectiveaccess
    Is that text on the screen? Or a browser error?
    Ja-9 the Orcish Librarian 👩‍💻
    @JanineWinfree_twitter
    Browser error, sorry wasn't clear. I've cleared my cache and cleared the CA cache but you can test: www.beckarchives.net/pawtucket
    Well now it worked...
    CollectiveAccess
    @collectiveaccess
    Works for me too
    Ja-9 the Orcish Librarian 👩‍💻
    @JanineWinfree_twitter
    Maybe it just needed a minute to readjust. Sorry!
    sterlingjenson
    @sterlingjenson
    Treatment.png
    @bib_mais_twitter -- in one of the threads, you were asking for examples of how to record the treatment of an object. Here is a screen shot of the container I use to record that information
    4 replies
    I probably should add a line for if the reference is a book or an article
    Jonas Rosland
    @jonasrosland
    Is it possible to search for objects not in a collection, or not in a storage location?
    In Providence, that is.
    Infra|Red
    @InfraRed:matrix.org
    [m]
    @jonasrosland: as in not in any collection or any storage location?
    3 replies
    Infra|Red
    @InfraRed:matrix.org
    [m]
    @jonasrosland I can't see a way outside querying the db directly. Version 1.8 will have the new query builder which is pretty cool, but I couldn't get that to work for this case either. @collectiveaccess might be able to answer better.
    sterlingjenson
    @sterlingjenson
    @jonasrosland have you looked into document on how to use the advance search index syntax : https://docs.collectiveaccess.org/wiki/Search_Syntax#Searching_for_blank_values
    Infra|Red
    @InfraRed:matrix.org
    [m]
    @sterlingjenson: I just tried that in the advanced search and it unfortunately didn't work :(
    EnekoSC
    @EnekoSC
    How can I make custom searches using ElasticSearch? I've read that it has a specific syntax but i don't know how to do it in PHP
    CollectiveAccess
    @collectiveaccess
    Elastic uses the same Lucene query syntax as the SQL-based engine. At least from the user interface, they are supposed to work the same. You can potentially query Elastic from your code in other ways though.
    @jonasrosland You could potentially index counts of relationships and then query for those with zero relationships to find objects "not in collection X" (etc.). This is not configured by default though.
    The blank value syntax doesn't work for relationships, because relationships are not fields... there's nothing to be "blank"
    EnekoSC
    @EnekoSC
    I've seen the documentation and there is a section where it talks about the syntax but I have to use a function or something and then pass the string with the query
    Jonas Rosland
    @jonasrosland
    Trying out the basic search, I found that I can easily search for descriptions being blank. I understand from the above that I can't do that for relationships. Ok. But! Let's see here.
    image.png
    image.png
    Then I can filter by collection
    So, would it be possible to add a filter for "No collection"?
    CollectiveAccess
    @collectiveaccess
    Yes that's possible
    You'd have to configure a "has" browse facet
    and set it to the relevant table
    Jonas Rosland
    @jonasrosland
    That's a bit over my head at the moment. This seems like it would be a useful feature though? Searching for non-collection items to make sure they're in a collection?
    Jonas Rosland
    @jonasrosland
    I can open an issue if that would help?
    CollectiveAccess
    @collectiveaccess
    There are lots of useful features people want. If you need it you could create an issue for it.
    Jonas Rosland
    @jonasrosland
    Infra|Red
    @InfraRed:matrix.org
    [m]
    @jonasrosland: by adding the browse facet like was mentioned you can do this, It's a configuration file change. I sent you a DM (not sure if you got it).
    Patrick Timmons
    @pstimmons

    Hello. I have this warning at the end of every page from my installation:

    Warning: fsockopen(): unable to connect to tls://collective-access.delisle.duckdns.org:25443:443 (Unknown error) in /var/www/html/ca/app/lib/Controller/Request/RequestHTTP.php on line 660

    You can see that my installation uses tcp port 25443. RequestHTTP.php gets the server name from CA_SITE_HOSTNAME which is defined in
    app/helpers/post-setup.php: define("CA_SITE_HOSTNAME", isset($_SERVER['HTTP_HOST']) ? $_SERVER['HTTP_HOST'] : '');

    $_SERVER['HTTP_HOST'] contains the port in my case. It then adds $vn_port with a value of 443.

    $_SERVER['SERVER_NAME'] and $_SERVER['SERVER_PORT'] might be a better choice to find the name and port.

    ericwm
    @eriwm
    Please ignore my post dated 21 Sept re Really stumped on this one - importing hierarchical list as after much gnashing of teeth and renting of clothes I finally figured it out myself.
    Infra|Red
    @InfraRed:matrix.org
    [m]
    Well done on figuring it out. :)
    CollectiveAccess
    @collectiveaccess
    @pstimmons Because of the way PHP works (no threading), in order to perform search indexing in a separate process we have to initiate a request by hitting a URL on the server. We're not accounting for the port being stuck onto the hostname here, as you've observed. I've just pushed a change to master and develop branches to improve this.
    1 reply
    It'll be in the next releases, or you can pull it from git now if you wish
    CariTheKitty
    @CariTheKitty
    Hello, I can't seem to find instructions to install pawtucket2 in the manual (which seems to have many blank pages?)
    Infra|Red
    @InfraRed:matrix.org
    [m]
    Hi @CariTheKitty . The manual linked from the homepage is for the soon to be released version 1.8 . The documentation for this is still a work in progress. Have a look at https://docs.collectiveaccess.org/wiki/Main_Page for any of missing information
    CariTheKitty
    @CariTheKitty
    Thanks, what's the rough ETA on 1.18?
    Infra|Red
    @InfraRed:matrix.org
    [m]
    Can't answer that sorry, I'm just a community member helping out.
    CariTheKitty
    @CariTheKitty
    Thanks for the help! (was making dinner) My planned usage is to run a first & third party archive for a game series (with the backing of the former game company), has anyone done a purely digital archive with this software?