contao/import — Issue #3313: Make meta.txt more human readable. Use INI format.
Author: DyaGa
Created: 2011-11-29 21:19:50+00:00
State: open
Labels: Feature, framework

What do we have now in meta.txt.

Example:

```
campus_overview.jpg = Music Academy campus (main bulding) || Campus overview
campus_library.jpg = Music Academy campus library || Campus library
campus_hall.jpg = Music Academy Lincoln Hall || Lincoln Hall
campus_building.jpg = Historical building on Music Academy campus || Historical building
```

As you can see it's hard to understand for user what is `Music Academy Lincoln Hall` or what is `||`?

Now, please see next example:

```
[campus_overview.jpg]
title = Music Academy campus (main bulding)
url =
caption = Campus overview

[campus_library.jpg]
title = Music Academy campus library
url =
catption = Campus library

[campus_hall.jpg]
title = Music Academy Lincoln Hall
url =
caption = Lincoln Hall

[campus_building.jpg]
title = Historical building on Music Academy campus
url =
caption = Historical building
```

I think you will agree with me that the second example of `meta.txt` is more readable and understandable for user. It is an `INI` file format. And you can use `parse_ini_file` php function to extract data from this file.

--- _Originally created on July 28th, 2011, at 11:28am (ID 3313)_