Project

General

Profile

Task #559

Feature #552: Provide English translations of Greek works

Make translation reference for relating different versions of the same document

Added by Luke Murphey about 11 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
04/03/2013
Due date:
% Done:

100%


Subtasks

Task #591: Reimport Josephus' Works in EnglishClosedLuke Murphey

History

#1 Updated by Luke Murphey about 11 years ago

I matched up the different versions using the following code:

    # Get related works
    related_works = Work.objects.exclude(id=work.id).filter(title=work.title).filter(authors__in = work.authors.all() )
        <div class="btn-group">
                <button class="btn dropdown-toggle" data-toggle="dropdown">Other versions <span class="caret"></span></button>
                <ul class="dropdown-menu">
                    {% for related_work in related_works %}
                        <li><a href="{% url read_work related_work.title_slug %}/{{ chapter.get_division_indicators|join:"/" }}">{{related_work.title}}</a></li>
                    {% endfor %}
                </ul>
        <div>

This works but the division indicators don't match up.

#2 Updated by Luke Murphey about 11 years ago

  • Target version changed from 0.7 to 0.8

#3 Updated by Luke Murphey about 11 years ago

I could use a function to automatically build this reference table. Some considerations:

  • I need to have the ability to only match up certain levels deep of divisions
  • I need to have the ability to not show a link if the given division does not appear in the related work

#4 Updated by Luke Murphey about 11 years ago

Since we currently require the divisions to match up perfectly, some connections are not yet present between works (e.g. "Ad principem ineruditum"). Antiquities of the Jews is imported incorrectly and thus cannot be related.

#5 Updated by Luke Murphey about 11 years ago

Save divisions: * Adversus Colotem * Amatoriae narrationes (Goodwin) * Amatorius (amatorius, amatorius-goodwin) * an-recte-dictum-sit-latenter-esse-vivendum-goodwin, an-recte-dictum-sit-latenter-esse-vivendum

Different divisions:
  • Ad principem ineruditum
  • Amatoriae narrationes (Fowler, amatoriae-narrationes-fowler)

#6 Updated by Luke Murphey about 11 years ago

I am going to rebuild the work maps while ignoring division differences. I am doing this with the following code:

from reader.models import Work, RelatedWork
RelatedWork.autodiscover(ignore_editors=True)

#7 Updated by Luke Murphey about 11 years ago

  • Status changed from New to Closed

Also available in: Atom PDF