Return-Path: X-Original-To: apmail-openoffice-dev-archive@www.apache.org Delivered-To: apmail-openoffice-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1EC3111747 for ; Wed, 3 Sep 2014 21:57:03 +0000 (UTC) Received: (qmail 7770 invoked by uid 500); 3 Sep 2014 21:57:02 -0000 Delivered-To: apmail-openoffice-dev-archive@openoffice.apache.org Received: (qmail 7685 invoked by uid 500); 3 Sep 2014 21:57:02 -0000 Mailing-List: contact dev-help@openoffice.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openoffice.apache.org Delivered-To: mailing list dev@openoffice.apache.org Received: (qmail 7674 invoked by uid 99); 3 Sep 2014 21:57:02 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Sep 2014 21:57:02 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [107.14.166.231] (HELO cdptpa-oedge-vip.email.rr.com) (107.14.166.231) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Sep 2014 21:56:36 +0000 Received: from [65.185.58.75] ([65.185.58.75:50352] helo=localhost.localdomain) by cdptpa-oedge02 (envelope-from ) (ecelerity 3.5.0.35861 r(Momo-dev:tip)) with ESMTP id F6/51-13273-29E87045; Wed, 03 Sep 2014 21:56:34 +0000 Message-ID: <54078E92.1050906@pitonyak.org> Date: Wed, 03 Sep 2014 17:56:34 -0400 From: Andrew Douglas Pitonyak Reply-To: andrew@pitonyak.org User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.7.0 MIME-Version: 1.0 To: dev@openoffice.apache.org Subject: Re: Link to oooforum References: <53F4E328.5000500@gmx.net> <540382B7.9030702@apache.org> <5403C40A.6030101@pitonyak.org> <5403EEFF.2020600@pitonyak.org> <54048328.4050308@pitonyak.org> <54052741.7030005@pitonyak.org> <5405B3F3.9060307@pitonyak.org> <5406A47E.2000109@pitonyak.org> <54070C5D.4030301@pitonyak.org> <54078161.2020209@pitonyak.org> <54078AE3.908@pitonyak.org> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-RR-Connecting-IP: 107.14.168.130:25 X-Cloudmark-Score: 0 X-Virus-Checked: Checked by ClamAV on apache.org Oh, yes, sorry, I could test on the official forum, but, the forum itself is laid out very differently so I don't think that it would work very well. The big issue that I see at the moment is that if I follow my multi-step method to create a "kill the spam" scripts, it takes a very long time to run. I changed the timeout to 10 minutes. This is so slow that it just feels silly to even bother trying to remove the spam. For certain testing would go much faster on the official forum since it works well and is performs quickly On 09/03/2014 05:43 PM, Alexandro Colorado wrote: > Sorry the way I understood you couldnt work confortable at oooforum > because of its unresponsiveness. So I suggest using the official > forums to test the iMacros until they are up there to perform all the > tasks. > > But I most have missed something. > Regards. > > On 9/3/14, Andrew Douglas Pitonyak wrote: >> The next version of the forum software used by oooforum supports >> deleting all posts by the user. Also, there is an add-on for the version >> 2 (I think) that also supports this. >> >> The official forum runs great, no need to test there. It is sufficiently >> moderated that there are no particular issues. >> >> On 09/03/2014 05:28 PM, Alexandro Colorado wrote: >>> For the record, you could do this also on our forums at >>> https://forum.openoffice.org/en/ >>> >>> This will give you a fast server to work on until oooforum is back in >>> shape. Trying to delete your own post could do the trick enough to >>> test it. >>> >>> On 9/3/14, Alexandro Colorado wrote: >>>> I agree, sorry to see the sad state of the forum. Maybe all this >>>> should be let known to the owner so he can take measurses. I dont >>>> think anyone want to see oooforum go. >>>> >>>> On 9/3/14, Andrew Douglas Pitonyak wrote: >>>>> Yeah, even when I build an iMacro to remove a single post based on a >>>>> hard coded URL, oooforum is so slow, that it fails to respond in 60 >>>>> seconds after saying "yes, remove that like I asked" and then the macro >>>>> itself stops running. I set the timeout to 10 minutes, will see if that >>>>> is sufficient. That said, when the forum is so slow, hardly seems worth >>>>> the effort. >>>>> >>>>> On 09/03/2014 08:41 AM, Andrew Douglas Pitonyak wrote: >>>>>> Side note: It occurred to me that some of my "failures" may be >>>>>> attributed to the site simply not responding since it stopped >>>>>> responding last night. >>>>>> >>>>>> >>>>>> >>>>>> On 09/03/2014 01:17 AM, Andrew Douglas Pitonyak wrote: >>>>>>> Well, I find the entire thing rather confusing. For example, I can >>>>>>> extract the table of text as follows: >>>>>>> >>>>>>> TAB T=1 >>>>>>> URL GOTO=http://www.oooforum.org/forum/search.phtml >>>>>>> TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:search.phtml?mode=results >>>>>>> ATTR=NAME:search_author CONTENT=RobinColvin >>>>>>> TAG POS=1 TYPE=INPUT:SUBMIT FORM=ACTION:search.phtml?mode=results >>>>>>> ATTR=* >>>>>>> >>>>>>> 'Extract the table text. >>>>>>> TAG POS=7 TYPE=TABLE ATTR=TXT:* EXTRACT=TXT >>>>>>> SAVEAS TYPE=EXTRACT FOLDER=* FILE=mytable_{{!NOW:yymmdd_hhnnss}}.csv >>>>>>> >>>>>>> If I want to extract all of the URLs in the table, well, I can't >>>>>>> figure out how to do that. I am able to enumerate the first two links >>>>>>> as follows: >>>>>>> >>>>>>> TAB T=1 >>>>>>> URL GOTO=http://www.oooforum.org/forum/search.phtml >>>>>>> TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:search.phtml?mode=results >>>>>>> ATTR=NAME:search_author CONTENT=RobinColvin >>>>>>> TAG POS=1 TYPE=INPUT:SUBMIT FORM=ACTION:search.phtml?mode=results >>>>>>> ATTR=* >>>>>>> >>>>>>> TAG POS=1 TYPE=A ATTR=HREF:*&&CLASS:topictitle EXTRACT=HREF >>>>>>> TAG POS=2 TYPE=A ATTR=HREF:*&&CLASS:topictitle EXTRACT=HREF >>>>>>> SAVEAS TYPE=EXTRACT FOLDER=* FILE=mytable_{{!NOW:yymmdd_hhnnss}}.csv >>>>>>> >>>>>>> I had trouble simply extracting all of them, so, I tried to use java >>>>>>> script to call iMacro, but that never returned from the first iimPlay >>>>>>> >>>>>>> var spammer="RobinColvin" >>>>>>> >>>>>>> window.alert("Read for '" + spammer + "'"); >>>>>>> >>>>>>> var search_macro; >>>>>>> search_macro ="CODE:"; >>>>>>> search_macro +="URL >>>>>>> GOTO=http://www.oooforum.org/forum/search.phtml"+"\n"; >>>>>>> search_macro +="TAG POS=1 TYPE=INPUT:TEXT >>>>>>> FORM=ACTION:search.phtml?mode=results ATTR=NAME:search_author >>>>>>> CONTENT="+spammer+"\n"; >>>>>>> search_macro +="TAG POS=1 TYPE=INPUT:SUBMIT >>>>>>> FORM=ACTION:search.phtml?mode=results ATTR=*"+"\n"; >>>>>>> >>>>>>> >>>>>>> >>>>>>> var links = []; >>>>>>> var iLink = 1; >>>>>>> var iMaxLink = 100 >>>>>>> var link = ""; >>>>>>> var extract_link_macro; >>>>>>> >>>>>>> window.alert(search_macro); >>>>>>> >>>>>>> // Perform the search! >>>>>>> iimPlay(search_macro) >>>>>>> >>>>>>> window.alert("Finished with search!"); >>>>>>> >>>>>>> do { >>>>>>> extract_link_macro ="CODE:"; >>>>>>> extract_link_macro +="TAG POS="+iLink+"1 TYPE=A >>>>>>> ATTR=HREF:*&&CLASS:topictitle EXTRACT=HREF"+"\n"; >>>>>>> iimPlay(extract_link_macro); >>>>>>> link=iimGetLastExtract(); >>>>>>> if(link!="#EANF#") { >>>>>>> links.push(link); >>>>>>> iLink = iLink + 1; >>>>>>> } >>>>>>> } while (link != "#EANF#" && iLink <= iMaxLink) >>>>>>> >>>>>>> window.alert("found " + iLink + " links"); >>>>>>> >>>>>>> >>>>>>> If I assume that I have already searched, then I can extract all of >>>>>>> the links by using "loop execute" and then using a macro similar to: >>>>>>> >>>>>>> TAG POS={{!LOOP}} TYPE=A ATTR=HREF:*&&CLASS:topictitle EXTRACT=HREF >>>>>>> SAVEAS TYPE=EXTRACT FOLDER=* FILE=mytable_{{!NOW:yymmdd_hhnnss}}.csv >>>>>>> >>>>>>> If I loop 50 times, it exports everything from that one page into >>>>>>> three files. It seems that it does not easily support doing the >>>>>>> entire thing in one shot; at least while using a loop! >>>>>>> >>>>>>> At least by listing the extract command 50 times I end up with only >>>>>>> one file. >>>>>>> >>>>>>> this is not a simple thing and it still does not get me to my end >>>>>>> game. >>>>>>> >>>>>>> On 09/02/2014 10:23 AM, Alexandro Colorado wrote: >>>>>>>> On 9/2/14, Andrew Douglas Pitonyak wrote: >>>>>>>>> There is very little difference between what an admin and a user >>>>>>>>> sees in >>>>>>>>> this context. >>>>>>>>> >>>>>>>>> To find the posts, I use the regular search. The returned list is >>>>>>>>> the >>>>>>>>> same for an admin as well as a regular user. While displaying a >>>>>>>>> thread, >>>>>>>>> there is an admin link that allows me to remove the thread and >>>>>>>>> there is >>>>>>>>> a link to remove each post in the thread. There is also a link on >>>>>>>>> the >>>>>>>>> bottom of each thread to navigate to a special admin page that >>>>>>>>> provides >>>>>>>>> some extra functions such as delete a user (but deleting the user >>>>>>>>> does >>>>>>>>> not remove their posts). >>>>>>>> I did an excercise and try deleting my own posts from oooforum. I >>>>>>>> see >>>>>>>> what you mean (and what I was missing). There is no checkbox to mark >>>>>>>> all the posts like it would be on -- let say -- the PM page where a >>>>>>>> checkbox is able to mass delete all links. >>>>>>>> >>>>>>>> I understand now your point on looping through non secuential links. >>>>>>>> I >>>>>>>> went on the iMacros forum and found some tips responding to a >>>>>>>> positioning loop. >>>>>>>> http://forum.imacros.net/viewtopic.php?f=8&p=37399 >>>>>>>> >>>>>>>> Hope this helps. >>>>>>>> >>>>>>>>> On 09/01/2014 11:00 PM, Alexandro Colorado wrote: >>>>>>>>>> Unfortunately I dont admin any forum to see what you are seen, so >>>>>>>>>> I >>>>>>>>>> only have access to the forum search engine but I know that the >>>>>>>>>> Admin >>>>>>>>>> (the one able to delete the forum) is a different view. >>>>>>>>>> >>>>> -- >>>>> Andrew Pitonyak >>>>> My Macro Document: http://www.pitonyak.org/AndrewMacro.odt >>>>> Info: http://www.pitonyak.org/oo.php >>>>> >>>>> >>>>> --------------------------------------------------------------------- >>>>> To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org >>>>> For additional commands, e-mail: dev-help@openoffice.apache.org >>>>> >>>>> >>>> -- >>>> Alexandro Colorado >>>> Apache OpenOffice Contributor >>>> 882C 4389 3C27 E8DF 41B9 5C4C 1DB7 9D1C 7F4C 2614 >>>> >> -- >> Andrew Pitonyak >> My Macro Document: http://www.pitonyak.org/AndrewMacro.odt >> Info: http://www.pitonyak.org/oo.php >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org >> For additional commands, e-mail: dev-help@openoffice.apache.org >> >> > -- Andrew Pitonyak My Macro Document: http://www.pitonyak.org/AndrewMacro.odt Info: http://www.pitonyak.org/oo.php --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org For additional commands, e-mail: dev-help@openoffice.apache.org