Hi Tom,
That would be handy. I've given up trying to respond to comments
because it's too hard to track threads.
Let's put this in Myspace.pm. As a rule, Myspace.pm handles any
direct interface to myspace.com, and other modules handle higher-
level processing.
If you have an idea how to implement this already, go for it. If
not, the new "inbox" method is very similar to this, but returns a
list of mail messages. You could look at it (or copy it) as a base
for this new method:
http://svn.sourceforge.net/viewcvs.cgi/www-myspace/trunk/lib/WWW/
Myspace.pm?view=markup
As you probably saw, I moved WWW::Myspace to sourceforge, so here's
some handy info if you want to get into it.
Main WWW::Myspace development page:
http://sourceforge.net/projects/www-myspace
- Instructions to use subversion:
- Go to
http://sourceforge.net/projects/www-myspace
- Click "subversion" (upper-right in the nav bar).
Shows you the svn checkout command and a link to browse the
source from the web.
- Shortcut to view the source code via the web (from the "subversion"
page above):
http://svn.sourceforge.net/viewcvs.cgi/www-myspace/trunk/
- Command to check out current source code (must have svn installed)
(also on the page above):
svn checkout
https://svn.sourceforge.net/svnroot/www-myspace
You're welcome to sign up as a developer on the project too. Just
sign up for a sourceforge account (free), and let me know your
username. That gives you write access to the svn repository too.
If you don't have svn installed, you can get it from: http://
subversion.tigris.org/project_packages.html
If you'd like to send a patch, just do this (with svn installed):
# Get the source
svn checkout
https://svn.sourceforge.net/svnroot/www-myspace
# Edit and test the file in your favorite editor
# Display the patch
cd .../www-myspace/trunk/lib/WWW
svn diff Myspace.pm
# Paste the output into this RT page.
# If you are signed up as a developer you can do this instead of the
last "svn diff":
svn commit
# A word-processor will open, enter a short description of the
changes made, such
# as "Added comments_on_profile method"
Thanks,
Grant
On Mar 20, 2006, at 2:19 AM, Guest via RT wrote:
Show quoted text>
> Mon Mar 20 05:19:55 2006: Request 18251 was acted upon.
> Transaction: Ticket created by guest
> Queue: WWW-Myspace
> Subject: Read comments from page
> Owner: Nobody
> Requestors: tom@tomkerswill.co.uk
> Status: new
> Ticket <URL:
http://rt.cpan.org/Ticket/Display.html?id=18251 >
>
>
> It would be really nice to be able to get a list of comments on a
> given myspace user page,
> including:
> * Date posted
> * Friend ID of commenter
> * Comment text
>
> It would be especially useful for determining which people have
> already been sent a given
> comment, and for keeping track of conversations written using
> comments (imagine
> chronologically ordering comments exchanged with a given person).
>
> I'd be up for trying to write something that does this. Would it be
> best in the "comments"
> module or the main myspace module?
>
> Tom
>
--
Grant Grueninger
Commercial Systems Corporation
http://www.cscorp.com/
818-760-1649