Jason (squeaky19) wrote in lj_dev,

Changing coding style on .bml pages.

After posting http://www.livejournal.com/community/lj_dev/620282.html I got no response, and I guess that because I really didn't ask a question.

If you go back and read it I was talking about what seems like old vs. new coding pratices for .bml pages. I've found instances on my site in particular that variables weren't carying from the BODY=> are to other areas (including crumbs). I've foudn that if pages are coded in such a way that there is one large <?_code _code?> section before the <?page page?> section then all the variables carry across with no problem.

What I am proposing is that me (or someone else) go through all of the .bml files and convert them to use this method of coding. I have already started doing this on my LJ site and it wouldnt be a problem for me to submit patches to zilla if its decided that this will be used. Otherwise I'll just keep this stuff to myself.

I can't see how this will hurt, and it seems to me like a more efficient way of parsing the files, though I haven't really looked into the bml engine to see the internals.


Yeah, I guess I kinda suck at asking questions. Basically, if the work is done and submitted, will it be used?

  • cl-journal livejournal client

    Hey everyone, I'd like to present a livejournal client that I wrote to fulfill my needs but maybe there are other people that can find it…

  • SessionGenerate and ljloggedin

    Are there any information after release 86 and changes in cookies scheme to use sessiongenerate? It returns ljsession key, but this key is not enough…

  • Retrieving comments

    Hi, Is there a way to retrieve a list of comments made by user XXX (which may or may be not the currently logged in user) in the journals of users…

  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded