RECURRENT DONATION
Donate monthly to support
the NeculaiFantanaru.com project
Ny toetra tena ilaina amin'ity boky ity raha ampitahaina amin'ny hafa eny an-tsena amin'ny sehatra iray ihany dia ny famariparitana amin'ny alalan'ny ohatra ny fahaiza-manaon'ny mpitarika iray. Tsy nilaza mihitsy aho hoe mora ny ho tonga mpitarika tsara, fa raha tian'ny olona...
Nanoratra ity boky ity aho izay mampifandray amin'ny fomba tsotra ny fivoaran'ny tena manokana amin'ny fitarihana, toy ny piozila, izay tsy maintsy ampifandraisinao ny ampahany rehetra mba hamerenana ny sary ankapobeny.
Ny tanjon'ity boky ity dia ny hanome anao vaovao amin'ny alalan'ny ohatra mivaingana ary hampiseho aminao ny fomba hahazoanao ny fahaiza-manao hahatonga ny hafa hahita zavatra mitovy amin'ny anao.
Raha tsy mihevitra azy io ho fifanarahana, ny boky dia maneho ny andrana ny olon-tsotra iray - ny mpanoratra - izay amin'ny alalan'ny teny tsotra, zava-misy sy ny ohatra mahazatra mampianatra ny olon-tsotra herim-po sy ny fanantenana amin'ny fikatsahany manokana ho tompony sy izay mahalala. .. mety ho mpitarika mihitsy aza.
Azonao atao ny mijery ny kaody feno:Https: // passatin.com / x gn qj qs7 Ohatra iray momba ny pejy HTML izay hovana miaraka amin'ny kaody powershell. Adikao amin'ny rakitra .html ny lahatsoratra etsy ambony, afatory amin'ny toeranaC: \ Folder1
xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="ro">
Ny kaody popershell eto ambany dia handika ny votoatin'ny Tags HTML amin'ny marika hafa amin'ny alàlan'ny fanoratana ny angon-drakitra. Mila mameno ny tags fotsiny ianao $sourcedir = "C:\Folder1\" $resultsdir = "C:\Folder1\" Get-ChildItem -Path $sourcedir -Filter *.html | ForEach-Object { $content = Get-Content -Path $_.FullName -Raw # Copy the content of the tag $replaceValue = (Select-String -InputObject $content -Pattern '(?<=).Matches.Value $content = $content -replace '(?<=,$replaceValue $content = $content -replace '(?<="@id": ").*(")',$replaceValue # Copy the content of the tag Safidy. Ity misy fanehoana regex izay hanova ny tag "Keywords" ao amin'ny pejin'ny HTML, manampy koma aorian'ny teny tsirairay. Ampiasao amin'ny Netepad ++ -> CTR + F -> Zahao: fanamarihana mahazatra SEARCH: (?s)<title>.*?<\/title>.*?<meta\x20name="keywords"\x20content="\K(\w+)|\G[^\w\r\n]+(\w+) REPLACE BY: ?1\l\1:,\x20\l\2 That's all folks. If you like my code, please SHARE IT Azonao atao ihany koa ny mijery ny dikan-kaodyPython Latest articles accessed by readers:
Donate via Paypal
RECURRENT DONATIONDonate monthly to support SINGLE DONATIONDonate the desired amount to support Donate by Bank TransferAccount Ron: RO34INGB0000999900448439
Open account at ING Bank
|
||||||||||||
![]() |
||||||||||||