# Feed Filters These filters are used for formatting and manipulating data in feeds, such as product or content feeds. They help with URL generation, currency formatting, string manipulation, and conditional logic. Use these filters to prepare data for export or integration with other platforms. ## full_url Completes relative urls to absolute URLs. **Input** ```liquid {{ "/my/store/path" | full_url }} ``` **Output** ```text https://www.mystore.com/my/store/path ``` --- ## link Creates a link to store resource. **Input** ```liquid {{ product | link }} ``` **Output** ```text https://www.mystore.com/product/my-product ``` --- ## money Rounds the given amount in currenct display currency. **Input** ```liquid {{ 3.45234 | money }} ``` **Output** ```text 3.45 ``` --- ## money_in_decimal Returns the given amount in decimal **Input** ```liquid {{ 3.45234 | money_in_decimal: 2 }} ``` **Output** ```text 3.45 ``` --- ## money_in_smallest Returns the given amount in the smallest currency unit. **Input** ```liquid {{ 3.45234 | money_in_smallest }} ``` **Output** ```text 345 ``` --- ## money_with_currency Returns the amount in current display currency rounded and formatted. **Input** ```liquid {{ 3.45234 | money_with_currency }} ``` **Output** ```text 3.45 € ``` --- ## number_in_decimal Returns the given amount in decimals **Input** ```liquid {{ 3.45234 | number_in_decimal: 2 }} ``` **Output** ```text 3.45 ``` --- ## safe_truncate Removes HTML tags and truncates text without breaking HTML entities. This is safe for XML feeds as it ensures entities aren't cut in the middle. **Input** ```liquid {{ product.description | safe_truncate: 100, '...' }} ``` **Output** ```text A safely truncated description... ``` --- ## substr Returns the portion of string specified by the offset and length parameters. **Input** ```liquid {{ abcdef | substr: 0, 3}} ``` **Output** ```text abc ``` --- ## yepnope Test if value is truthy and return the yes parameter value, otherwise return no value. **Input** ```liquid {{ '' | yepnope: 'yes', 'no' }} {{ 'some content' | yepnope: 'yes', 'no' }} ``` **Output** ```text no yes ```