You are not logged in.
- Topics: Active | Unanswered
Pages: 1
#1 2010-02-22 06:52:14
- daris
- Developer

- From: Poland
- Registered: 2008-05-09
- Posts: 514
[Idea] XML readme
What do you think about putting readme.txt instructions into XML file? It can be something like:
<open src="includes/functions_posting.php">
<find><![CDATA[ $sql_data[POSTS_TABLE]['sql'] = array(]]></find>
<action type="after-add"><![CDATA[ 'user_agent' => $_SERVER['HTTP_USER_AGENT'],]]></action>
</open>
<open src="viewtopic.php">
<find><![CDATA[ $rowset[$row['post_id']] = array(]]></find>
<action type="after-add"><![CDATA[ 'user_agent' => $row['user_agent'],]]></action>
<find><![CDATA[ $postrow = array(]]></find>
<action type="before-add"><![CDATA[ // Browser and OS icons
include_once $phpbb_root_path . 'includes/user_agent.' . $phpEx;]]></action>
<action type="after-add"><![CDATA[ get_useragent_icons($row['user_agent']), // USER AGENT]]></action>
</open>You could just add XSL styling file. I mean about something like phpbb3 has (modx).
Sorry for my English ;p
Polish FluxBB support | FluxBB 1.4 styles | Mods for FluxBB
Offline
#2 2010-02-22 16:58:56
- FSX
- Developer

- From: NL
- Registered: 2008-05-09
- Posts: 803
- Website
Re: [Idea] XML readme
I don't think that's a good idea. The readme file should be readable and it's not really easy to read XML as plain text.
You could provide this as an "install" file in your mod package.
And how does it handle forums which already got a lot of modifications?
Last edited by FSX (2010-02-22 17:01:02)
Offline
Pages: 1
