princessofgeeks: (Default)
princessofgeeks ([personal profile] princessofgeeks) wrote in [community profile] getting_started2009-05-05 04:32 pm

a coding question re user names

Okay, so I'm using the crosspost feature here to post to my LJ simultaneously when I make a DW post in my DW journal. All copacetic.

And I know how to code the names of DW users on DW, so that that shows up as a link to their profile page, and furthermore, now I know how to code so as to make the LJ account user names show up as links in the traditional LJ manner on both the DW side and the LJ side.

My question is:

*drumroll*

How do I code the DW user names so that ON THE LIVEJOURNAL SIDE (through the crossposter), they will show up with the cute new little gray DW user symbol and become a live link there?

Maybe those instructions exist, but I have not found them. Thank you in advance for your help.
domtheknight: espresso machine brewing into little white mugs (Default)

[personal profile] domtheknight 2009-05-05 09:50 pm (UTC)(link)
The same way! The crossposter will translate the < user name=name site=site.com > into the actual raw html so that on LJ, the DW (or IJ or whichever) icons show up as appropriate.

ETA to clarify - if you're doing a DW link, you can just do user name=name!
Edited 2009-05-05 21:51 (UTC)
domtheknight: espresso machine brewing into little white mugs (Default)

[personal profile] domtheknight 2009-05-05 10:26 pm (UTC)(link)
Hmmmm I tried it without quote marks and it seemed to work... but you could do < user name="name" site="site.com" > and see if that helps.

Do you have a link to an entry you've tried where it didn't work? I can take a look at your html to see if I can spot how to fix it.
domtheknight: espresso machine brewing into little white mugs (Default)

[personal profile] domtheknight 2009-05-05 10:29 pm (UTC)(link)
I'm glad it worked!
sorchasilver: A daisy (Default)

[personal profile] sorchasilver 2009-05-05 09:52 pm (UTC)(link)
I just tested this through the crossposter, and [user name="blahblahblah"] shows up on LJ with the DW icon and as a link.
anatsuno: a women reads, skeptically (drawing by Kate Beaton) (Default)

[personal profile] anatsuno 2009-05-05 10:03 pm (UTC)(link)
[user name=anatsuno site="dreamwidth.org"] works fine. :D
carus: The Melancholy of Haruhi Suzumiya (Default)

[personal profile] carus 2009-05-05 10:18 pm (UTC)(link)
Though if you use site="dreamwidth.org" in the crosspost, it shows up as a different OpenID icon, rather than the standard DW icon.
allen: extras (extras)

[personal profile] allen 2009-05-05 10:35 pm (UTC)(link)
Though if you use site="dreamwidth.org" in the crosspost, it shows up as a different OpenID icon, rather than the standard DW icon.

D'oh!

...I should probably fix that.
anatsuno: a women reads, skeptically (drawing by Kate Beaton) (Default)

[personal profile] anatsuno 2009-05-05 10:52 pm (UTC)(link)
ooh? oops!
starglyph: (geek named daniel)

[personal profile] starglyph 2009-05-06 02:39 pm (UTC)(link)
You're the only person I've ever seen that is able to skip using the quote marks on journals -- except me. The only thing I ever need them for are lj-cuts (or cuts) for text. I always forget to mention the quotes marks when teaching someone coding, and end up making things harder for them. :)

I always thought it was my mac Safari browser, but you're not on a mac, are you?
starglyph: sepia montage of Jack and Daniel (J fcol)

[personal profile] starglyph 2009-05-06 04:28 pm (UTC)(link)
I have never used quotes on URL's, anywhere, either. Nor have I ever used rich text; I always hand-code everything. Have you ever tried not using them on anything beside user names? Sorry to be a pest, but this has bugged me for years.

I know what you mean; I actually had to look up how to code a user name on LJ when I did the J/D comm post. How soon we forget. :)

Hi, sweetie!
trillingstar: walkabout | Harold, head bent down, playing the guitar as he walks in the countryside. Reads: Sing Out (gen sing out)

[personal profile] trillingstar 2009-06-10 09:46 pm (UTC)(link)
Hi, sorry to butt in, but I don't use quotes when coding URLs or user names or anything other than LJ-cut text. So - you're not alone. *g*
starglyph: (starglyph sky)

[personal profile] starglyph 2009-06-12 04:38 pm (UTC)(link)
I'm glad you dropped by! It's good to know I'm not alone. :)

Are you also on a Mac with a Safari browser? I'm beginning to think, as PoG said, it's not always the Mac/Safari. It may be that people use quote marks because they were taught to, but it might not always be necessary, just habit.
trillingstar: walkabout | Harold, head bent down, playing the guitar as he walks in the countryside. Reads: Sing Out (celeb meloni sunglasses)

[personal profile] trillingstar 2009-06-18 12:28 pm (UTC)(link)
I'm on a regular ol' PC with IE. I used to use quotes, and then once I didn't for some reason, and it still worked, and I rejoiced, because they always used to trip me up and force me to study my code for too long before finding the issue. Heee.

I think people use them out of habit, too.