Log in

No account? Create an account
Lindsey Kuper [entries|archive|friends|userinfo]
Lindsey Kuper

[ website | composition.al ]
[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

Write an interpreter: variables [Jun. 28th, 2013|02:45 am]
Lindsey Kuper

Hi! I'm a friendly, albeit janky, Ruby script, and this is one of several automated messages that I'm capable of producing to let you know that there's a new post on composition.al.


[User Picture]From: cos
2013-07-02 12:20 am (UTC)
Silly ruby script, you should learn how to tell us the titles of the new posts you tell us about.
(Reply) (Thread)
[User Picture]From: gwillen
2013-07-02 05:59 am (UTC)
Unless the post has been edited since you wrote this, it did -- it's the title of the LJ post. (Which I suppose may or may not be prominent depending on your theme.)
(Reply) (Parent) (Thread)
[User Picture]From: lindseykuper
2013-07-05 04:16 am (UTC)
As gwillen noted, it does know how; they're the titles of the automated posts.
(Reply) (Parent) (Thread)
[User Picture]From: cos
2013-07-05 04:20 am (UTC)
Ahh, it knows, it just obfuscates :) Making the title of the linked-to post be the title of the link would be clear.
(Reply) (Parent) (Thread)
[User Picture]From: lindseykuper
2013-07-08 03:33 pm (UTC)
Yeah; I like the way that it reads now (and I'm worried it will come across as too pushy and annoying if I mention the title of the post more than once), but maybe if the title of the linked-to post were actually the title attribute of the link, that would clear things up.
(Reply) (Parent) (Thread)