<commit_before>from django.contrib.syndication.feeds import Feed
from django.utils.feedgenerator import Atom1Feed

from job_board.models import Job
from commons.utils import days_range

class JobFeed(Feed):
    feed_type = Atom1Feed
    title = "Job Feeds"
    link = "/job/"
    description = "Job Feeds"
    description_template = 'job_board/feed.html'

    def items(self, obj):
        return Job.objects.filter(posted__gt=days_range(30))

    def item_author_name(self, item):
        """
        Takes an item, as returned by items(), and returns the item's
        author's name as a normal Python string.
        """
        return item.company_name

    def item_pubdate(self, item):
        """
        Takes an item, as returned by items(), and returns the item's
        pubdate.<commit_msg>change the job feeds link<commit_after>from django.contrib.syndication.feeds import Feed
from django.utils.feedgenerator import Atom1Feed

from job_board.models import Job
from commons.utils import days_range

class JobFeed(Feed):
    feed_type = Atom1Feed
    title = "Job Feeds"
    link = "/feed/jobs/"
    description = "Job Feeds"
    description_template = 'job_board/feed.html'

    def items(self, obj):
        return Job.objects.filter(posted__gt=days_range(30))

    def item_author_name(self, item):
        """
        Takes an item, as returned by items(), and returns the item's
        author's name as a normal Python string.
        """
        return item.company_name

    def item_pubdate(self, item):
        """
        Takes an item, as returned by items(), and returns the item's
        pubdate.
{'fraction_non_alphanumeric': 0.08928571428571429, 'fraction_numerical': 0.0049261083743842365, 'mean_word_length': 2.90625, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1955441', 'n_tokens_mistral': 490, 'n_tokens_neox': 469, 'n_words': 149}