• I am new to WordPress development and trying to achieve this result.

    I have a batch of files in txt format weekly, which have paths of files on a particular server.

    I need to somehow convert/import these txt files into Directory-like format in WordPress and enable users to search the target name on those files.

    the search result needs to highlight the target name and show the file path like the picture shown in the post on stackoverflow.

    Text files sizes are around 300M to 500M each.

    Those files are updated weekly and new updates need to be converted/imported as time goes by.

    Is there any existing solution in WordPress already?

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    Text files are notoriously unstructured, so it’s difficult to develop a ready-made solution. It looks like your files are nicely structured, but it’s not a common structure like JSON or CSV. I suspect a solution would need to be custom developed.

    The PHP parse_url() function will break up an URL string into component parts for easier processing, so what you need is not an onerous task, but it’s not a ready-made task.

Viewing 1 replies (of 1 total)
  • The topic ‘Converting txt file into a directory listing’ is closed to new replies.