Log in

No account? Create an account
LiveJournal Development [entries|archive|friends|userinfo]
LiveJournal Development

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

August 23rd, 2001

Admin Section/Permanent Users/Adding News [Aug. 23rd, 2001|01:56 am]
LiveJournal Development


[mood |confusedconfused]

I just compiled/installed LJ onto my apache server. Now what I cannot figure out is if there is a significant admin section, other than priv, and console.
What I am specifically looking for is how to add news and make a user a permanent one.

Thanks in advance
link10 comments|post comment

User domain. [Aug. 23rd, 2001|10:06 am]
LiveJournal Development


When I try to access a user's journal using the format "user.ljsite.com" it just takes me to the main lj site.

I have the whole virtualhost config in my httpd.conf and seems to be working perfectly except for this problem.

Thanks in advance.
link8 comments|post comment

Two Easy Questions [Aug. 23rd, 2001|10:24 am]
LiveJournal Development


Hi people. I got a Goathack but am having a small problem. I keep getting the error [Error: Can't call method "quote" on an undefined value at (eval 12) line 14.] when I try to create my "ScottJournal". I am not sure why. (I'll leave :8013 running until I get a solution so you can reproduce the error if needed.)

Also, is it possible to edit larger files (like the global.look) offline on my Windows box and then somehow upload/transfer it to Goathack? Or do I have to use emacs?

scottfreeman@goathack:~$ mysqlctl stop
Stopping MySQL database server: mysqld010822 18:42:30 mysqld ended
scottfreeman@goathack:~$ apachectl stop
/home/scottfreeman/bin/apachectl stop: httpd stopped
scottfreeman@goathack:~$ apachectl start
/home/scottfreeman/bin/apachectl start: httpd started
scottfreeman@goathack:~$ mysqlctl start
Starting MySQL database server: mysqldStarting mysqld daemon with databases from /home/scottfreeman/var/db/

So now the apache and mysql are running (they were before, honest). But same errors. I just read over doc/install.txt and it looks like all that's been done already. Basically, all I needed to do was start apache and mysql and the server was ready to roll? Thats all I've really done (also edited a few things in ljconfig.pl).
link8 comments|post comment

Blogger API implementation for LiveJournal [Aug. 23rd, 2001|01:35 pm]
LiveJournal Development
Hi Everyone

I'm posting to let eveyone know about a wrapper for LiveJournal I wrote this morning. Basically, it implements the Blogger XML-RPC API on top of LiveJournal, which essentially lets you post to LiveJournal from any Blogger client.

Whether you think this is userful or a waste of time probably depends on your point of view, and I don't want to start a big old argument or anything. I'm really jsut announcing it incase anyone else was after a similar thing or incase anyone finds it useful.

Of course, this is no replacement for a full LJ specific XML-RPC interface (as the Blogger API is fairly simple) which I understand has also been written lately, and is being cleaned up at the moment, but it coudl prove useful to some poeple, especially now that you can post to Blogger via Jabber.

Anyway, I have a basic page up on my website saying what I did, how to access it etc, its at:

link4 comments|post comment

silly question... [Aug. 23rd, 2001|01:37 pm]
LiveJournal Development


[mood |curiouscurious]

i'm a bit new to the whole cvs thing so please don't laugh too hard at this question.

when i attempt 'cvs update' on my goathack account, i get the following message before it performs the update:

cvs update: failed to open /home/djenigma/.cvspass for reading: No such file or directory

how can i fix this?
link6 comments|post comment

distributed lj [Aug. 23rd, 2001|02:04 pm]
LiveJournal Development


hi, this is a shot in the dark, but i was wondering if there were any plans to make a distributed network of livejournal servers... with the idea being that people in the UK post to and read from a UK server, people in Australia use an Aus one, maybe a couple in the US etc ... and the servers feed all new posts between each other in a steady stream ...

this would require a large amount of work to begin with, but would hopefully bring benefits...
1) that if Internap goes boom / Seattle has a brown-out, LiveJournal is still going
2) that less people are all trying to use the same boxes at once (seems to be the biggest problem at the moment)
3) that brad and the admin team can reduce some of the direct responsiblities for keeping LJ online - since each of the distributed servers would have its own admin team...

the disadvantages are ... that it would take a lot of work to get running, and secondly, that there might be a lag between people posting and people on the other side of the world having the posts available to read, because the servers havent done their sync'ing yet. oh and possibly it would be less secure, but i dont envisage this being a huge problem.

anyway, just a general "is this a viable possibility / request for comments".... so, comment away...

not sure if this is what this post was suggesting. if it is, then sorry.
link9 comments|post comment

syntax highlighting for bml [Aug. 23rd, 2001|02:04 pm]
LiveJournal Development


i apologize for posting this again, because i know i've seen it before... i thought it was in the lj_dev community, but maybe i'm wrong.

anyways, does someone happen to have a vim syntax file for bml already written? it'd be really handy to have while goathacking.

thanx in advance.
link6 comments|post comment

Introduction [Aug. 23rd, 2001|07:19 pm]
LiveJournal Development


Must introduce oneself. Right. Hi, I'm new.

Just up front I'd like to state that I know little of LJ's secret, dark, scary little inner workings. Just enough to be dangerous, really, though I'm not likely to shoot myself or anyone else in the foot. I also haven't gone actively digging, though I suppose this will change, now. As to what I do know:

Too much of:
-- Visual Basic (Save your groans for after the entire list, please).
-- HTML/CSS/Blah blah blah
-- Multi User Forth (Heh!)

Enough to be scary:
-- C++
-- Perl

Enough to be dangerous:
-- Any language, given a resource and a couple of days.

I'm also one of those icky, creepy gifted learners. I'm really not kidding about the resource and two days things. I realize my skill set doesn't quite qualify to jump in and start hacking up code and gluing it back together, but I'd like to help out, no less.

In the meantime, I'll likely lurk around until someone finds something with my name on it and thrusts it into my hands. Or, hey, I'll try anything if the person asking looks desperate enough. (As long as 'pretty' isn't a requirement.)
link2 comments|post comment

don't know if this is the place to address this. [Aug. 23rd, 2001|09:26 pm]
LiveJournal Development
problem with punquin font
link4 comments|post comment

ljprotocol.pl rewrite [Aug. 23rd, 2001|11:27 pm]
LiveJournal Development


Ever look at ljprotocol.pl? No? Good. Yes? I'm sorry. Yeah, files with one function that is a few thousand lines suck.

Anyway, it's being rewritten. The first patch is now in CVS.

Not only does it now have hundreds of little functions instead of one big one, but now the protocol internally returns rich data structures, which other protocol handlers can then manipulate easier.

So basically we have an meta protocol handler internally now (LJ::Protocol::do_request) and different front-ends that wrap & manipulate it, like the old flat key/value interface (LJ::do_request). The XML-RPC interface is just a package now (LJ::XMLRPC) that has very thin wrappers (one line) for every internal method.

The rewrite's only half done, but it's downhill from here. I don't normally check works in progress into CVS, but I wrote a little regression tester to compare the results of the old log.cgi to the new one for every protocol mode and permutation of options.... all checks out.

Next step, if anybody's up for it, is to start changing our code in BML pages to use the meta protocol instead of using the uglier key/value protocol.
link1 comment|post comment

[ viewing | August 23rd, 2001 ]
[ go | Previous Day|Next Day ]