Description: Pathologic is an input filter which can correct paths in links and images in your Drupal content in situations which would otherwise cause them to d-deDUbreak;d-deDt for example, if the URL of the site changes, or the content was moved to a different server. Pathologic can also solve the problem of missing images and broken links in your sited-deOaos RSS feeds. See more example use cases on the documentation page.
Pathologic is designed to be a simple, set-it-and-forget-it utility. You don't need to enter any special d-deDUtags,d-deDt path prefixes, or other non-content garbage into your content to trigger Pathologic to work; it finds paths it can manage in your content automatically.
As Pathologic is an input filter, installation and configuration is a little more difficult than it is for a standard module d-deOCL but it's still not that tough, if you follow the full installation and configuration guide here.
Note: The 7.x-1.x and Drupal 6.x-3.x branch are almost entire rewrites, and may not work with paths that used to work with the 6.x-2.x branch. Any regressions you notice should be considered bugs, so please report them. There's currently no upgrade path from 6.x-3.x to 7.x-1.x d-deOCL Pathologicd¬DSdu?s settings will have to be reset for each of your input filters. However, you may upgrade from 6.x-2.x to 6.x-3.x and everything should work as expected.
Note 2: Pathologic will not work correctly on multi-lingual sites. Unfortunately, I do not currently have enough understanding on the workings of multi-lingual sites to fix this. If you can help, either through code or maybe just some clues, please get in touch.
Alternatives to Pathologic:
* Path Filter can also transform relative paths into absolute ones, if you type "internal:" at the beginning of the path. However, it cannot also correct absolute paths as Pathologic can. (Path Filter predates Pathologic substantially; however, I was unaware of its existence when I started Pathologic.) For those who wish to migrate away from Path Filter, Pathologic can be used as a drop-in replacement.
* URL Replace Filter is a svelte alternative, but it requires you to configure which URLs you want it to operate on, and its Drupal 6 branch has not yet reached beta status.
* Absolute src can absolute-ize paths, but only those in src attributes, and it doesn't work as an input filter (so its results aren't cached).
* Relative Paths to Absolute URLs is a very simple solution for prefixing paths with a domain. Pathologic encompasses its capabilities.
Related: pathologic, paths, Content, Filter, Input, branch, drupal, Installation, Configuration, Upgrade, Multilingual, Absolute, Simple, Sites
O/S:BSD, Linux, Solaris, Mac OS X
File Size: 10.0 KB