dadadev Re: dadadev Re: Changing sort order in Clickthru tracking

 
From: "John Collins" <john@PROTECTED>
Date: October 16th 2008

At 10:45 PM -0400 10/15/08, Justin J wrote:

On Oct 14, 2008, at 6:05 PM, John Collins wrote:

>

Nope Thanks anyway Any other ideas? JC

Strange -

At least for me, both of these techniques:

foreach(sort { $a <=> $b } keys %$m_report){

change to:

foreach(sort { $b <=> $a } keys %$m_report){

or changed to:

foreach(reverse sort { $a <=> $b } keys %$m_report){

Shows the most recent mailing list message, first This is the little test script:

!/usr/bin/perl

my $m_report = {

1 => "one", 2 => "two", 3 => "three", };

print "\nnumerical, asc by key:\n"; foreach( sort { $a <=> $b } keys %$m_report){ print $_ ' => ' $m_report->{$_} "\n"; }

print "\nnumerical, desc by key:\n"; foreach( sort { $b <=> $a } keys %$m_report){ print $_ ' => ' $m_report->{$_} "\n"; }

print "\nnumerical, desc by key (2):\n"; foreach(reverse sort { $a <=> $b } keys %$m_report){ print $_ ' => ' $m_report->{$_} "\n"; }

This assumes the key (1, 2 or 3) is numerical I'm thinking this is the case Your clickthrough log looks like this?

Wed Oct 15 06:29:52 2008 20081014184749 open Wed Oct 15 08:10:14 2008 20081014184749 open Wed Oct 15 09:44:59 2008 20081014184749 open Wed Oct 15 09:44:59 2008 20081014184749 open Wed Oct 15 16:00:03 2008 20081015160003 num_subscribers 1234 Wed Oct 15 16:30:54 2008 20081015163054 num_subscribers 1234 Wed Oct 15 20:55:31 2008 20081015205530 num_subscribers 1234 Wed Oct 15 20:55:37 2008 20081015205536 num_subscribers 1234 [/snip]

This one did it foreach(reverse sort { $a <=> $b } keys %$m_report){ I must have had something else going wrong at the time Or maybe I typed in reversesort as all one word

Now I'd like to find a way to set a threshold below which they won't display, eliminating the test message from the tracking window Long time ago it didn't count them

FYI- Sample of log: (doesn't show the num_subscribers or bounces????)

Thu Oct 16 16:41:21 2008 20081015103411 open Thu Oct 16 16:42:57 2008 20081015103411 open Thu Oct 16 16:47:25 2008 20081015103411 open Thu Oct 16 16:48:41 2008 20081015103411 open Thu Oct 16 16:50:54 2008 20081015103411 open Thu Oct 16 16:50:55 2008 20081015103411 open Thu Oct 16 16:53:23 2008 20081015103411 open Thu Oct 16 16:54:57 2008 20081015103411 open Thu Oct 16 16:56:46 2008 20081015103411 open Thu Oct 16 16:58:13 2008 20081012102436 open Thu Oct 16 16:59:27 2008 20081015103411 open Thu Oct 16 17:09:00 2008 20081015103411 open

  • This mailing list is a public mailing list - anyone may join or leave, at any time.
  • This mailing list is a group discussion list (unmoderated)
  • Start a new thread, email: dadadev@dadamailproject.com

This is the developer discussion mailing list for Dada Mail.

If you are just looking for support Dada Mail, consult the message boards at:

https://forum.dadamailproject.com

Documentation for Dada Mail:

https://dadamailproject.com/d

Specifically, see the Error FAQ:

https://dadamailproject.com/d/FAQ-errors.pod.html

To post to this list, send a message to:

mailto:dadadev@dadamailproject.com

All subscribers of this list may post to the list itself.

Topics that are welcome:

  • Constructive critiques on the program (I like, "x", but, "y" needs some work - here's an idea on how to make this better...)
  • Bug/Error reports
  • Bug fixes
  • Request For Comments on any changes to the program
  • Help customizing Dada Mail for your own needs
  • Patches
  • Language Translations
  • Support Documentation/Doc editing, FAQ's, etc.
  • Discussion of any changes that you would like to be committed to the next version of Dada Mail -

Dada Mail is on Github:

https://github.com/justingit/dada-mail/

If you would like to fork, branch, send over PRs, open up issues, etc.

Privacy Policy:

This Privacy Policy is for this mailing list, and this mailing list only.

Email addresses collection through this mailing list are used explicitly to work within this email discussion list.

We only collect email addresses through our Closed-Loop Opt-In system.

We don't use your email address for any other purpose.

We won't be sharing your email address with any other entity.

Unsubscription can be done at any time. Please contact us at: justin@dadamailproject.com for any help regarding your subscription, including removal from the mailing list.

All mailing list messages sent from us will include a subscription removal link, which will allow you to remove yourself from this mailing list automatically, and permanently.

All consent to use your email address for any other purpose stated at the time of the mailing list subscription will also be revoked upon mailing list removal.