Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/prgfx/mquery

Framework for ManiaPlanet manialinks, adding functionalities for formatting and ManiaScript
https://github.com/prgfx/mquery

Last synced: 1 day ago
JSON representation

Framework for ManiaPlanet manialinks, adding functionalities for formatting and ManiaScript

Awesome Lists containing this project

README

        

mQuery - Framework for Manialinks
====
What it is
----
mQuery included the possiblitiy of formating your ManiaPlanet Manialink with attributes like you are used to from css. Usualy these are the normal Manialink element's attributes, but there are even more possibilities automating even more.
The other point in mQuery is the jQuery like mQuery language giving you huge functionality in very few commands, saving you a lot of time and worries.

How it works
----
The framework preprocesses your input, excludes unnecessary parts that were only used to implement your mQuery. It automatically adds necessary Manialink elements and adds the css formatings according to id- and classnotations.

How to use it
----
First of all you need to catch your manialink, for example with
```php
applyStyles(); // Apply the css styles to the manialink elements
$MLDoc->output(); // Output formatted manialink
?>
```

In the manialink you can declare stylesheet files with ``.
mQuery code files can be included with `` or written within ``blocks.

Version
----
0.4 alpha