| View previous topic :: View next topic |
| Author |
Message |
kaushik
Joined: 26 Apr 2009 Posts: 6
|
Posted: Sun Apr 26, 2009 9:21 am Post subject: AP Has Issue On http://www.orkut.com/Main |
|
|
AP Has Issue On http://www.orkut.com/Main#CommTopics.aspx?*
and http://www.orkut.com/Main#CommMsgs.aspx?*
Please select all applied issues:
[ ] There is no rule for this page
[ ] There is a rule, but not work well. Input details here:
[ ] I don\'t want to automatically load next pages on this site
[ ] Others, input it here:
More pages on the site which has the same issue:
|
|
| Back to top |
|
|
|
erkan
Joined: 17 Mar 2009 Posts: 185 Location: Turkey
|
Posted: Sun Apr 26, 2009 9:38 am Post subject: |
|
|
Hi,
Orkut is big site for rule creating. I want to make a generic rule. Can you send me example page links ?
_________________ * How to update latest rules? Tools > AutoPager > Update Setting Online
** How can I use the code? Copy code then import it with Tools > AutoPager > Import/Export > Import from Clipboard |
|
| Back to top |
|
|
|
kaushik
Joined: 26 Apr 2009 Posts: 6
|
|
| Back to top |
|
|
|
erkan
Joined: 17 Mar 2009 Posts: 185 Location: Turkey
|
Posted: Sun Apr 26, 2009 9:59 am Post subject: |
|
|
Unfortunately, I've tried tons of time. I've selected correct xpaths, and I've used another option combinations. But it's not working with classical methods.
We need to call Wind.
Sorry man.
_________________ * How to update latest rules? Tools > AutoPager > Update Setting Online
** How can I use the code? Copy code then import it with Tools > AutoPager > Import/Export > Import from Clipboard |
|
| Back to top |
|
|
|
kaushik
Joined: 26 Apr 2009 Posts: 6
|
Posted: Sun Apr 26, 2009 10:05 am Post subject: |
|
|
No worries mate, thanks for trying
lets wait for wind
|
|
| Back to top |
|
|
|
erkan
Joined: 17 Mar 2009 Posts: 185 Location: Turkey
|
Posted: Sun Apr 26, 2009 10:11 am Post subject: |
|
|
Similar event on justin.tv: http://member.teesoft.info/phpbb/viewtopic.php?p=1671#1671
Wind has written a greasemonkey script for this. I say always, Wind is #1
_________________ * How to update latest rules? Tools > AutoPager > Update Setting Online
** How can I use the code? Copy code then import it with Tools > AutoPager > Import/Export > Import from Clipboard |
|
| Back to top |
|
|
|
wind
Joined: 15 Dec 2007 Posts: 2649
|
Posted: Sun Apr 26, 2009 3:58 pm Post subject: |
|
|
I make a new AP version to support this site.
https://secure.teesoft.info/autopager/autopager_0.5.1.1.xpi
This site use frame to serve main content, it has some complex javascript. Old version AP doesn't work well on it.
FYI, the new version is not fully tested yet. And it includes some other patches to improve the performance and reduce memory usage.
The rule for orkut:
| Code:Select All |
<autopager>
<site><urlPattern>http://www.orkut.com/(CommMsgs|CommTopics).aspx</urlPattern>
<guid>3877B31B-7791-7484-75AC-140D-62AA-5DEE</guid>
<margin>1</margin>
<delaymsecs>200</delaymsecs>
<owner>Wind Li</owner>
<urlIsRegex>true</urlIsRegex>
<enableJS>false</enableJS>
<contentXPath>//div[@id='mboxfull']</contentXPath>
<testLink>http://www.orkut.com/CommMsgs.aspx?cmm=20844581&tid=5280278969095412994&na=3&nst=11&nid=20844581-5280278969095412994-5281174950785598700</testLink>
<linkXPath>//a[contains(text(),'next >')]</linkXPath>
<desc>AP rules for http://www.orkut.com forum, need AP v0.5.1.1 or later</desc>
</site>
</autopager> |
You may need refresh page to make AP start work, I will try to fix it shortly.
|
|
| Back to top |
|
|
|
wind
Joined: 15 Dec 2007 Posts: 2649
|
|
| Back to top |
|
|
|
swashata
Joined: 27 Apr 2009 Posts: 5
|
Posted: Mon Apr 27, 2009 7:16 am Post subject: A little more modification |
|
|
Hello wind thanks a lot for the settings But I would like to say one thing that there are many extensions for orkut like .co.in .com .com.br and so! So can you make a RegExp on the URL pattern including all of them? The one we are using is http://www.orkut.(co.in|com|com.br)/(CommMsgs|CommTopics).aspx I am sure you can do much better than this
Another thing is that if someone replies in the forum with an external link having text "next" then this will get bugged [Thanks to kaushik for figuring out this] The Xpath of the next link item on forum page is something like this
[code]//div[@id='mboxfull']/table[@class='module']/tbody/tr/td[@class='boxmidlrg']/form
So can we use that instead? I tried it but was not able to get it on work! Waiting for your reply
Thanks again
|
|
| Back to top |
|
|
|
kaushik
Joined: 26 Apr 2009 Posts: 6
|
Posted: Mon Apr 27, 2009 7:27 am Post subject: Works well |
|
|
Thanks a lot !
This is really a huge deal for everybody on Orkut.
|
|
| Back to top |
|
|
|
wind
Joined: 15 Dec 2007 Posts: 2649
|
Posted: Mon Apr 27, 2009 1:31 pm Post subject: Re: A little more modification |
|
|
| swashata wrote: | Hello wind thanks a lot for the settings But I would like to say one thing that there are many extensions for orkut like .co.in .com .com.br and so! So can you make a RegExp on the URL pattern including all of them? The one we are using is http://www.orkut.(co.in|com|com.br)/(CommMsgs|CommTopics).aspx I am sure you can do much better than this
Another thing is that if someone replies in the forum with an external link having text "next" then this will get bugged
|
I have to say, I don't know it either. This is based on phpbb with some mods, I hadn't digdeep into it.
| Quote: |
[Thanks to kaushik for figuring out this] The Xpath of the next link item on forum page is something like this
//div[@id='mboxfull']/table[@class='module']/tbody/tr/td[@class='boxmidlrg']/form
So can we use that instead? I tried it but was not able to get it on work! Waiting for your reply
Thanks again |
Hi swashata
You can export and paste your setting here if you had made a working one.
Thanks
Wind
|
|
| Back to top |
|
|
|
swashata
Joined: 27 Apr 2009 Posts: 5
|
Posted: Mon Apr 27, 2009 3:16 pm Post subject: |
|
|
Hi wind! Thanks for your reply This is the code I am using now
| Code:Select All |
<autopager>
<site><urlPattern>http://www.orkut.(co.in|com|com.br)/(CommMsgs|CommTopics|Scrapbook).aspx</urlPattern>
<guid>3877B31B-7791-7484-75AC-140D-62AA-5DEE</guid>
<margin>1</margin>
<delaymsecs>200</delaymsecs>
<owner>Wind Li</owner>
<urlIsRegex>true</urlIsRegex>
<enableJS>false</enableJS>
<contentXPath>//div[@id='mboxfull']</contentXPath>
<testLink>http://www.orkut.com/CommMsgs.aspx?cmm=20844581&tid=5280278969095412994&na=3&nst=11&nid=20844581-5280278969095412994-5281174950785598700</testLink>
<linkXPath>//a[contains(text(),'next >')]</linkXPath>
<desc>AP rules for http://www.orkut.com forum, need AP v0.5.1.1 or later</desc>
</site>
</autopager>
|
This enables us to use AutoPager even in Scrapbook also! But in Scrapbook we actually dont want the whole div with mboxfull to get loaded! We want only the second table element under this div to be as the content XPath. So I think in case of Scrapbook if we use some code like this then it should show better
| Code:Select All |
<contentXPath>//div[@id='mboxfull']/table[2]</contentXPath>
|
I hope you are getting my points
|
|
| Back to top |
|
|
|
wind
Joined: 15 Dec 2007 Posts: 2649
|
Posted: Mon Apr 27, 2009 3:28 pm Post subject: |
|
|
| swashata wrote: | | Code:Select All | | <contentXPath>//div[@id='mboxfull']/table[2]</contentXPath> |
I hope you are getting my points |
You can create a separate rule for Scrapbook if you want different content.
I don't use orkut so I have no idea.
|
|
| Back to top |
|
|
|
swashata
Joined: 27 Apr 2009 Posts: 5
|
Posted: Thu Apr 30, 2009 4:18 am Post subject: |
|
|
| wind wrote: | You can create a separate rule for Scrapbook if you want different content.
I don't use orkut so I have no idea.
 |
Ok No problem! Thanks for your support. You addon is really superb
|
|
| Back to top |
|
|
|
swashata
Joined: 27 Apr 2009 Posts: 5
|
Posted: Fri May 01, 2009 6:27 am Post subject: |
|
|
Hi wind! We surely have found a great response from orkut for your Addon. We have posted you Tool here. Hope you will like this. If you want us to include/mention any other thing/feature then please tell us! We will do that ASAP
Thanks again for this great tool
|
|
| Back to top |
|
|
|
|