plainblack.com
Username Password
search
Bookmark and Share

    

Script to replace all external links to nofollow

User aulix
Date 5/20/2014 4:34 am
Views 3185
Rating 0    Rate [
|
]
Previous · Next
User Message
aulix

Which tables shall be parsed to update links automatically?


Especially I am not sure how to deal with versions

Affordable $24/Year WebGUI hosting



Back to Top
Rate [
|
]
 
 
aulix

I see getUrl() calls gateway() which adds noCache=xxx when required.

I guess somewhere parsing all <A/> is done where their corresponding href is updated by values received from getUrl()
Can somebody please suggest me a perl module or function name where such replacement done?

There are a lot of calls to the getUrl(), not sure which one shall be used and I am unfortunately not good at debugging the whole WebGUI, I can "debug" only simple macro with a help of printf().

Searching for RegExes:

href.*gateway\(
href.*getURL\(

did not help

Affordable $24/Year WebGUI hosting



Back to Top
Rate [
|
]
 
 
aulix

I see getUrl() calls gateway() which adds noCache=xxx when required.

I guess somewhere parsing all <A/> is done where their corresponding href is updated by values received from getUrl()
Can somebody please suggest me a perl module or function name where such replacement done?

May be logging a call stack into a database table or a file can be done for each call of the gateway() function

Will it display where replacement done if used as described at:

http://stackoverflow.com/questions/229009/how-can-i-get-a-call-stack-listing-in-perl

Affordable $24/Year WebGUI hosting



Back to Top
Rate [
|
]
 
 
    



© 2019 Plain Black Corporation | All Rights Reserved