Graphics

 View Only
  • 1.  Online Txt file

    Posted 10-11-2022 12:02
    What is the best way to pull data from a Txt file online?  The txt in datalinq is looking for a local file.

    ------------------------------
    Josh Udvig
    CTN STUDIOS - COON RAPIDS
    ------------------------------


  • 2.  RE: Online Txt file

    Ross Staff
    Posted 10-11-2022 13:04
    Via datalinq, do you have a license for it?

    ------------------------------
    Simon Redmile
    Senior Graphic Programmer & Designer
    Ross Video
    Bristol United Kingdom
    ------------------------------



  • 3.  RE: Online Txt file

    Posted 10-11-2022 13:32
    I do. The txt option doesn't like web address's as a source and Rss/Http option can't pull from it.  Not sure which datalinq option to use

    ------------------------------
    Josh Udvig
    CTN STUDIOS - COON RAPIDS
    ------------------------------



  • 4.  RE: Online Txt file

    Ross Staff
    Posted 10-11-2022 14:54
    Are you able to format it is XML or JSON rather than txt?

    ------------------------------
    Simon Redmile
    Senior Graphic Programmer & Designer
    Ross Video
    Bristol United Kingdom
    ------------------------------



  • 5.  RE: Online Txt file

    Posted 10-11-2022 15:08
    No. It is only sent via a txt.

    ------------------------------
    Josh Udvig
    CTN STUDIOS - COON RAPIDS
    ------------------------------



  • 6.  RE: Online Txt file

    Ross Staff
    Posted 10-11-2022 15:14
    It might be possible by ASCII but this isn't my area of expertise, hopefully, someone will see this post that has a better answer, perhaps @Garner.​

    ------------------------------
    Simon Redmile
    Senior Graphic Programmer & Designer
    Ross Video
    Bristol United Kingdom
    ------------------------------



  • 7.  RE: Online Txt file

    Ross Staff
    Posted 10-12-2022 03:14
    Can you provide an example of the data source?


  • 8.  RE: Online Txt file

    Ross Staff
    Posted 10-12-2022 01:32
    When you say online, where is the text file saved?   In datalinq you can chose to access a network drive when you browse for the file name.

    ------------------------------
    Jos Ford
    Ross Video
    ------------------------------



  • 9.  RE: Online Txt file

    Posted 10-12-2022 09:19
    https://electionresultsfiles.sos.state.mn.us/20221108/local.txt

    ------------------------------
    Josh Udvig
    CTN STUDIOS - COON RAPIDS
    ------------------------------



  • 10.  RE: Online Txt file

    Posted 10-16-2022 05:50
    If that file was on a Datalinq machine, you could read it with Text Datalinq Source.
    I don't know how often that data content is updated, so alternatively, you could manually open it in the browser and from the browser save the new version of the page always in the same place with the same name you use in Datalinq. Another option is to use some external program/script that periodically copies that file from the network location to the local disk.
    In Datalinq's Text Source Setup select Semicolon (;) as the Format Delimeter.

    ------------------------------
    Juha Koivisto
    ------------------------------