Log in

No account? Create an account
January 12th, 2004 - LiveJournal Development — LiveJournal [entries|archive|friends|userinfo]
LiveJournal Development

[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

January 12th, 2004

Posting By Camera Phone [Jan. 12th, 2004|02:14 am]
LiveJournal Development


First, I know Brad has been talking about how posting by camera phone is in the works, but I was just wondering if there were any more details on how and when it will be implemented. I was just wondering if there was any update on this. This is one feature that I am really anxious to have.
Secondly, In my anxiousnous to have it, I attempted to post via the normal email gateway. You can view the results here: http://www.livejournal.com/users/the1brian/6705.html . It pretty much stripped everything from the email, except for the text, and the URL to the picture. This is good, because it stripped sprint's ads, but bad because it also stripped the image, and allows/makes them view it off of sprint's site, where they can find more personal information than some might want to give, as well as the pin to the post-by-email mechanism (which I already changed after posting it). Still, it leads me to believe that it wouldn't be too hard to implement posting by cameraphone through the normal post-by-email mechanism. For reference, a copy of a similiar (not the exact same for all the links, etc) email can be viewed here: http://thebrian.net/pictureemail.html so you can see what the email looks like before it goes through lj's gateway, and is stripped of almost everything.

link10 comments|post comment

S2 Question [Jan. 12th, 2004|03:23 am]
LiveJournal Development


[mood |curiouscurious]

I'm trying to use the built-in function "alternate" in my S2 style. However, I'm getting a runtime error (it compiles just fine) and I can't figure out why. I don't know if this is just me using it wrong or if it's a bug. Here's what I did...

In MonthPage::print_body(), I have this chunk of code:

var string cell_bgcolor;
foreach var MonthDay d ($.days) {
    $cell_bgcolor = alternate($*comment_bar_one_bgcolor.as_string, $*comment_bar_two_bgcolor.as_string);
    if ($d.has_entries) {
        "<table border='0' cellpadding='2' cellspacing='0' width='100%'><tr>";
        "<td style='background-color: $cell_bgcolor;'>";
        "<dt><a class='nav' href='$d.url'><strong>";
        print lang_ordinal($d.day);

I'm getting this error when I load my Month page (the line numbers change on refresh):

Error running style: Died in S2::run_code running MonthPage::print(): Undefined subroutine &S2::Builtin::alternate called at /home/lj/cgi-bin/LJ/S2.pm line 1250, line 21.

So, presumably, it does not like my call to alternate(). Any idea why? If it matters, I'm basing my style off of Punquin Elegant.

link8 comments|post comment

Hi, and S2 [Jan. 12th, 2004|01:17 pm]
LiveJournal Development


[mood |contemplativecontemplative]
[music |2 - Christmas]

Obligatory introduction thing: hullo, I'm Eevee. And I'm 17 today. I'm so old.

Re S2 (apologies if I'm repeating anything that's been brought up before): would it be possible to not strip <?xml?> tags out of S2 output? This seems to be putting IE into 'quirks' mode and making it impossible to fix its <table style="width: 100%;"> bug, and most likely some others I haven't run into yet.
And, while I'm at it, the docs look like they could use a little updating; there's no mention of Page.linklist, for example, which I know I've used before.
Aaand is there any way at all to let other users use a layer I created without buying them all paid accounts and having them copy the source into new layers? Or even plans for a way to do this? Something?
link11 comments|post comment

noindex for "Post a comment" page [Jan. 12th, 2004|03:55 pm]
LiveJournal Development
Searching for "phone" on my journal:


See the last 2 entries in the search results. I think the "Post a comment" page shouldn't show up in the Google search results. Right? This META tag ought to be present in the HEAD section of those pages:

<meta name="robots" content="noindex, nofollow, noarchive" />
link10 comments|post comment

[ viewing | January 12th, 2004 ]
[ go | Previous Day|Next Day ]