Search the web
Sign In
New User? Sign Up
dotcomments-support · dotcomments
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Format of comments file?   Message List  
Reply | Forward Message #749 of 928 |
Re: [dotcomments-support] Format of comments file?

This info can be found around line 27 in your comments.php file:
$thisComment = $commentDate . '[+]' . $commentName . '[+]' . $commentMail . '[+]' . $commentText . '[+]' . $commentSite . '[+]' . getenv('REMOTE_ADDR') . "\n";
 
So, it's in this order:
  1. comment date
  2. commenter's name
  3. commenter's email address
  4. comment text
  5. commenter's website URL
  6. commenter's IP address
Hope this helps!  ;)
 
 
~ Angela
 

----- Original Message -----
Sent: Thursday, June 30, 2005 12:59 AM
Subject: [dotcomments-support] Format of comments file?

Dear all,

This is a slightly odd question, but can someone tell me the format of
the text file that dotcomments stores comments in?

Specifically, I understand that it stores each comment on a single
line, delimited by [+]. What fields are separated by the [+] and what
order are they in?

[The reason I ask: I have comments in another system that uses a
similar format, though not identical, and want to import them into MT.
There's a script to do this for dotcomments-formatted files, and I
think it would be easier to turn my existing comments file into a
dotcomments one rather than rewriting the script, since I don't know
any scripting.)

Thanks.


Thu Jun 30, 2005 4:06 pm

usaf_angela
Offline Offline
Send Email Send Email

Forward
Message #749 of 928 |
Expand Messages Author Sort by Date

Dear all, This is a slightly odd question, but can someone tell me the format of the text file that dotcomments stores comments in? Specifically, I understand...
Kate_Nepveu
Offline Send Email
Jun 30, 2005
4:59 am

This info can be found around line 27 in your comments.php file: $thisComment = $commentDate . '[+]' . $commentName . '[+]' . $commentMail . '[+]' ....
Angela Allen
usaf_angela
Offline Send Email
Jun 30, 2005
4:08 pm

... [...] ... [snip] Ah, I'd seen an example and didn't realize it was storing time in Unix format. That would be why I was confused. Thanks for your help! -- ...
Kate_Nepveu
Offline Send Email
Jun 30, 2005
5:38 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help